Merge pull request #311853 from Sigmanificient/adopt-mooooore

treewide: adopt some packages with no maintainers
This commit is contained in:
Weijia Wang 2024-05-15 13:01:21 +02:00 committed by GitHub
commit b680cd4d0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 225 additions and 172 deletions

@ -1,32 +0,0 @@
{ lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }:
stdenv.mkDerivation rec {
pname = "gbsplay";
version = "0.0.97";
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = version;
sha256 = "sha256-O4t5OzXcrGoxzSXr0nzc01bItjcp1LvFeWnbdSUDwFU=";
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libpulseaudio nas ];
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
meta = with lib; {
description = "Gameboy sound player";
license = licenses.gpl1Plus;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ ];
};
}

@ -1,33 +0,0 @@
{ lib, stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }:
stdenv.mkDerivation rec {
pname = "fte";
version = "0.50.02";
nativeBuildInputs = [ unzip ];
buildInputs = [ perl libX11 libXpm gpm ncurses slang ];
ftesrc = fetchurl {
url = "mirror://sourceforge/fte/fte-20110708-src.zip";
sha256 = "17j9akr19w19myglw5mljjw2g3i2cwxiqrjaln82h3rz5ma1qcfn";
};
ftecommon = fetchurl {
url = "mirror://sourceforge/fte/fte-20110708-common.zip";
sha256 = "1xva4kh0674sj2b9rhf2amlr37yxmsvjkgyj89gpcn0rndw1ahaq";
};
src = [ ftesrc ftecommon ];
env.NIX_CFLAGS_COMPILE = "-DHAVE_STRLCAT -DHAVE_STRLCPY";
buildFlags = [ "PREFIX=$(out)" ];
installFlags = [ "PREFIX=$(out)" "INSTALL_NONROOT=1" ];
meta = with lib; {
description = "A free text editor for developers";
homepage = "https://fte.sourceforge.net/";
license = licenses.gpl2;
maintainers = [ ];
platforms = platforms.all;
};
}

@ -1,25 +0,0 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
stdenv.mkDerivation rec {
pname = "hexedit";
version = "1.6";
src = fetchFromGitHub {
owner = "pixel";
repo = "hexedit";
rev = version;
sha256 = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
meta = with lib; {
description = "View and edit files in hexadecimal or in ASCII";
homepage = "http://rigaux.org/hexedit.html";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
mainProgram = "hexedit";
};
}

@ -20,7 +20,7 @@ mkDerivation rec {
mainProgram = "tipp10";
homepage = "https://gitlab.com/tipp10/tipp10";
license = licenses.gpl2Only;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ sigmanificient ];
platforms = platforms.all;
};
}

@ -1,41 +0,0 @@
{ stdenv, fetchFromGitHub, lib, fzf, xclip }:
stdenv.mkDerivation rec {
pname = "unipicker";
version = "2.0.1";
src = fetchFromGitHub {
owner = "jeremija";
repo = pname;
rev = "v${version}";
sha256 = "1k4v53pm3xivwg9vq2kndpcmah0yn4679r5jzxvg38bbkfdk86c1";
};
buildInputs = [
fzf
xclip
];
preInstall = ''
substituteInPlace unipicker \
--replace "/etc/unipickerrc" "$out/etc/unipickerrc" \
--replace "fzf" "${fzf}/bin/fzf"
substituteInPlace unipickerrc \
--replace "/usr/local" "$out" \
--replace "fzf" "${fzf}/bin/fzf"
'';
makeFlags = [
"PREFIX=$(out)"
"DESTDIR=$(out)"
];
meta = with lib; {
description = "A CLI utility for searching unicode characters by description and optionally copying them to clipboard";
homepage = "https://github.com/jeremija/unipicker";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
mainProgram = "unipicker";
};
}

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation {
pname = "kitty-themes";
version = "unstable-2024-04-23";
@ -30,7 +30,7 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://github.com/kovidgoyal/kitty-themes";
description = "Themes for the kitty terminal emulator";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
}

@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchurl,
unzip,
perl,
libX11,
libXpm,
gpm,
ncurses,
slang,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fte";
version = "0.50.02";
ftesrc = fetchurl {
url = "mirror://sourceforge/fte/fte-20110708-src.zip";
hash = "sha256-1jEcVC0/DyiQpUpmHDtnIo4nuJS0Fk6frynwFPJUSZ4=";
};
ftecommon = fetchurl {
url = "mirror://sourceforge/fte/fte-20110708-common.zip";
hash = "sha256-WEEVeLMZWHZfQtK/Kbeu3Z+RaVXCwZyWkJocA+Akavc=";
};
src = [
finalAttrs.ftesrc
finalAttrs.ftecommon
];
nativeBuildInputs = [ unzip ];
buildInputs = [
perl
libX11
libXpm
gpm
ncurses
slang
];
hardeningDisable = [ "all" ];
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = "-DHAVE_STRLCAT -DHAVE_STRLCPY";
installFlags = [ "INSTALL_NONROOT=1" ];
# not setting it cause fte to not find xfte
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
description = "A free text editor for developers";
homepage = "https://fte.sourceforge.net/";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
})

@ -0,0 +1,43 @@
{
lib,
stdenv,
fetchFromGitHub,
installShellFiles,
libpulseaudio,
nas,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gbsplay";
version = "0.0.97";
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = finalAttrs.version;
hash = "sha256-O4t5OzXcrGoxzSXr0nzc01bItjcp1LvFeWnbdSUDwFU=";
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [
libpulseaudio
nas
];
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
meta = {
description = "Gameboy sound player";
license = lib.licenses.gpl1Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "gbsplay";
};
})

@ -1,13 +1,13 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "git-standup";
version = "2.3.2";
src = fetchFromGitHub {
owner = "kamranahmedse";
repo = pname;
rev = version;
repo = "git-standup";
rev = finalAttrs.version;
sha256 = "1xnn0jjha56v7l2vj45zzxncl6m5x2hq6nkffgc1bcikhp1pidn7";
};
@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
--prefix PATH : "${lib.makeBinPath [ git ]}"
'';
meta = with lib; {
meta = {
description = "Recall what you did on the last working day";
homepage = "https://github.com/kamranahmedse/git-standup";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
mainProgram = "git-standup";
};
}
})

@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
ncurses,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hexedit";
version = "1.6";
src = fetchFromGitHub {
owner = "pixel";
repo = "hexedit";
rev = finalAttrs.version;
hash = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
meta = {
description = "View and edit files in hexadecimal or in ASCII";
homepage = "http://rigaux.org/hexedit.html";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "hexedit";
};
})

@ -0,0 +1,47 @@
{
stdenv,
fetchFromGitHub,
lib,
fzf,
xclip,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "unipicker";
version = "2.0.1";
src = fetchFromGitHub {
owner = "jeremija";
repo = "unipicker";
rev = "v${finalAttrs.version}";
hash = "sha256-Br9nCK5eWoSN1i4LM2F31B62L9vuN5KzjS9pC9lq9oM=";
};
buildInputs = [
fzf
xclip
];
preInstall = ''
substituteInPlace unipicker \
--replace-fail "/etc/unipickerrc" "$out/etc/unipickerrc" \
--replace-fail "fzf" "${fzf}/bin/fzf"
substituteInPlace unipickerrc \
--replace-fail "/usr/local" "$out" \
--replace-fail "fzf" "${fzf}/bin/fzf"
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
"DESTDIR=${placeholder "out"}"
];
meta = {
description = "A CLI utility for searching unicode characters by description and optionally copying them to clipboard";
homepage = "https://github.com/jeremija/unipicker";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.unix;
mainProgram = "unipicker";
};
})

@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation {
homepage = "https://abrudz.github.io/APL386/";
description = "APL385 Unicode font evolved";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
}

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
mainProgram = "rasm";
# use -n option to display all licenses
license = licenses.mit; # expat version
maintainers = [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.all;
};
}

@ -18,6 +18,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/kgabis/parson";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/ibireme/yyjson";
changelog = "https://github.com/ibireme/yyjson/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
})

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
description = "Count lines of code quickly";
mainProgram = "loc";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = platforms.unix;
};
}

@ -46,6 +46,6 @@ buildPythonPackage rec {
homepage = "https://www.gcovr.com/";
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ sigmanificient ];
};
}

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl3Plus;
maintainers = [ ];
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
}

@ -1,14 +1,23 @@
{ lib, stdenv, meson, ninja, fetchFromGitHub, which, python3, fetchpatch
, libiconv }:
{
lib,
stdenv,
meson,
ninja,
fetchFromGitHub,
which,
python3,
fetchpatch,
libiconv,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ksh";
version = "2020.0.0";
src = fetchFromGitHub {
owner = "att";
repo = "ast";
rev = version;
owner = "att";
repo = "ast";
rev = finalAttrs.version;
sha256 = "0cdxz0nhpq03gb9rd76fn0x1yzs2c8q289b7vcxnzlsrz1imz65j";
};
@ -19,13 +28,18 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ meson ninja which python3 ];
nativeBuildInputs = [
meson
ninja
which
python3
];
buildInputs = [ libiconv ];
strictDeps = true;
meta = with lib; {
meta = {
description = "KornShell Command And Programming Language";
longDescription = ''
The KornShell language was designed and developed by David G. Korn at
@ -34,12 +48,12 @@ stdenv.mkDerivation rec {
many different computers and workstations on which it is implemented.
'';
homepage = "https://github.com/att/ast";
license = licenses.cpl10;
maintainers = with maintainers; [ ];
platforms = platforms.all;
license = lib.licenses.cpl10;
maintainers = with lib.maintainers; [ sigmanificient ];
platforms = lib.platforms.all;
};
passthru = {
shellPath = "/bin/ksh";
};
}
})

@ -44,7 +44,7 @@ buildGoModule rec {
homepage = "https://wakatime.com/";
description = "WakaTime command line interface";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ sigmanificient ];
mainProgram = "wakatime-cli";
};
}

@ -2441,8 +2441,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
git-standup = callPackage ../applications/version-management/git-standup { };
git-stree = callPackage ../applications/version-management/git-stree { };
git-subrepo = callPackage ../applications/version-management/git-subrepo { };
@ -5346,8 +5344,6 @@ with pkgs;
gb-backup = callPackage ../tools/backup/gamerbackup { };
gbsplay = callPackage ../applications/audio/gbsplay { };
gdrive = callPackage ../applications/networking/gdrive { };
gdrive3 = callPackage ../applications/networking/gdrive3 { };
@ -31185,8 +31181,6 @@ with pkgs;
python3Packages = python39Packages;
};
fte = callPackage ../applications/editors/fte { };
g933-utils = callPackage ../tools/misc/g933-utils { };
gavrasm = callPackage ../development/compilers/gavrasm { };
@ -31506,8 +31500,6 @@ with pkgs;
hexdino = callPackage ../applications/editors/hexdino { };
hexedit = callPackage ../applications/editors/hexedit { };
hydrogen-web-unwrapped = callPackage ../applications/networking/instant-messengers/hydrogen-web/unwrapped.nix { };
hydrogen-web = callPackage ../applications/networking/instant-messengers/hydrogen-web/wrapper.nix {
@ -35074,8 +35066,6 @@ with pkgs;
unigine-superposition = libsForQt5.callPackage ../applications/graphics/unigine-superposition { };
unipicker = callPackage ../applications/misc/unipicker { };
unpaper = callPackage ../tools/graphics/unpaper { };
unison-ucm = callPackage ../development/compilers/unison { };