treewide: refactor package definitions

+79 -79
+3 -3
pkgs/by-name/co/codemov/package.nix
··· 51 } 52 ''; 53 54 - meta = with lib; { 55 description = "Create a video of how a git repository's code changes over time"; 56 homepage = "https://github.com/sloganking/codemov"; 57 - license = licenses.mit; 58 - maintainers = with maintainers; [ figsoda ]; 59 mainProgram = "codemov"; 60 }; 61 }
··· 51 } 52 ''; 53 54 + meta = { 55 description = "Create a video of how a git repository's code changes over time"; 56 homepage = "https://github.com/sloganking/codemov"; 57 + license = lib.licenses.mit; 58 + maintainers = with lib.maintainers; [ figsoda ]; 59 mainProgram = "codemov"; 60 }; 61 }
+5 -5
pkgs/by-name/co/codux/package.nix
··· 20 inherit pname version src; 21 22 extraInstallCommands = '' 23 - install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications 24 cp -r ${appimageContents}/usr/share/icons $out/share 25 - substituteInPlace $out/share/applications/${pname}.desktop --replace 'Exec=AppRun' 'Exec=${pname}' 26 ''; 27 28 - meta = with lib; { 29 description = "Visual IDE for React"; 30 homepage = "https://www.codux.com"; 31 - license = licenses.unfree; 32 platforms = [ "x86_64-linux" ]; 33 - maintainers = with maintainers; [ 34 dit7ya 35 kashw2 36 ];
··· 20 inherit pname version src; 21 22 extraInstallCommands = '' 23 + install -m 444 -D ${appimageContents}/codux.desktop -t $out/share/applications 24 cp -r ${appimageContents}/usr/share/icons $out/share 25 + substituteInPlace $out/share/applications/codux.desktop --replace 'Exec=AppRun' 'Exec=codux' 26 ''; 27 28 + meta = { 29 description = "Visual IDE for React"; 30 homepage = "https://www.codux.com"; 31 + license = lib.licenses.unfree; 32 platforms = [ "x86_64-linux" ]; 33 + maintainers = with lib.maintainers; [ 34 dit7ya 35 kashw2 36 ];
+7 -7
pkgs/by-name/co/coeurl/package.nix
··· 10 spdlog, 11 }: 12 13 - stdenv.mkDerivation rec { 14 pname = "coeurl"; 15 version = "0.3.1"; 16 ··· 18 domain = "nheko.im"; 19 owner = "nheko-reborn"; 20 repo = "coeurl"; 21 - rev = "v${version}"; 22 hash = "sha256-NGplM5c/dMGSQbhKeuPOTWL8KsqvMd/76YuwCxnqNNE="; 23 }; 24 postPatch = '' ··· 37 spdlog 38 ]; 39 40 - meta = with lib; { 41 description = "Simple async wrapper around CURL for C++"; 42 homepage = "https://nheko.im/nheko-reborn/coeurl"; 43 - license = licenses.mit; 44 - platforms = platforms.all; 45 - maintainers = with maintainers; [ rnhmjoj ]; 46 }; 47 - }
··· 10 spdlog, 11 }: 12 13 + stdenv.mkDerivation (finalAttrs: { 14 pname = "coeurl"; 15 version = "0.3.1"; 16 ··· 18 domain = "nheko.im"; 19 owner = "nheko-reborn"; 20 repo = "coeurl"; 21 + tag = "v${finalAttrs.version}"; 22 hash = "sha256-NGplM5c/dMGSQbhKeuPOTWL8KsqvMd/76YuwCxnqNNE="; 23 }; 24 postPatch = '' ··· 37 spdlog 38 ]; 39 40 + meta = { 41 description = "Simple async wrapper around CURL for C++"; 42 homepage = "https://nheko.im/nheko-reborn/coeurl"; 43 + license = lib.licenses.mit; 44 + platforms = lib.platforms.all; 45 + maintainers = with lib.maintainers; [ rnhmjoj ]; 46 }; 47 + })
+3 -3
pkgs/by-name/co/coffeegrindsize/package.nix
··· 38 runHook postInstall 39 ''; 40 41 - meta = with lib; { 42 description = "Detects the individual coffee grounds in a white-background picture to determine particle size distribution"; 43 mainProgram = "coffeegrindsize"; 44 homepage = "https://github.com/jgagneastro/coffeegrindsize"; 45 - license = licenses.mit; 46 - maintainers = with maintainers; [ t4ccer ]; 47 }; 48 }
··· 38 runHook postInstall 39 ''; 40 41 + meta = { 42 description = "Detects the individual coffee grounds in a white-background picture to determine particle size distribution"; 43 mainProgram = "coffeegrindsize"; 44 homepage = "https://github.com/jgagneastro/coffeegrindsize"; 45 + license = lib.licenses.mit; 46 + maintainers = with lib.maintainers; [ t4ccer ]; 47 }; 48 }
+3 -3
pkgs/by-name/co/colorls/package.nix
··· 13 14 passthru.updateScript = bundlerUpdateScript "colorls"; 15 16 - meta = with lib; { 17 description = "Prettified LS"; 18 homepage = "https://github.com/athityakumar/colorls"; 19 - license = with licenses; mit; 20 - maintainers = with maintainers; [ 21 lukebfox 22 nicknovitski 23 cbley
··· 13 14 passthru.updateScript = bundlerUpdateScript "colorls"; 15 16 + meta = { 17 description = "Prettified LS"; 18 homepage = "https://github.com/athityakumar/colorls"; 19 + license = lib.licenses.mit; 20 + maintainers = with lib.maintainers; [ 21 lukebfox 22 nicknovitski 23 cbley
+6 -6
pkgs/by-name/co/comedilib/package.nix
··· 21 src = fetchFromGitHub { 22 owner = "Linux-Comedi"; 23 repo = "comedilib"; 24 - rev = "r${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 25 - sha256 = "0kfs2dw62vjz8j7fgsxq6ky8r8kca726gyklbm6kljvgfh47lyfw"; 26 }; 27 28 nativeBuildInputs = [ ··· 56 "doc" 57 ]; 58 59 - meta = with lib; { 60 description = "Linux Control and Measurement Device Interface Library"; 61 homepage = "https://github.com/Linux-Comedi/comedilib"; 62 - license = licenses.lgpl21; 63 - maintainers = [ maintainers.doronbehar ]; 64 - platforms = platforms.linux; 65 }; 66 })
··· 21 src = fetchFromGitHub { 22 owner = "Linux-Comedi"; 23 repo = "comedilib"; 24 + tag = "r${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 25 + hash = "sha256-3Hl6CHRvSzpNXXT6Z8RRbKKM/DS46+eORF9uYXgT2k0="; 26 }; 27 28 nativeBuildInputs = [ ··· 56 "doc" 57 ]; 58 59 + meta = { 60 description = "Linux Control and Measurement Device Interface Library"; 61 homepage = "https://github.com/Linux-Comedi/comedilib"; 62 + license = lib.licenses.lgpl21; 63 + maintainers = with lib.maintainers; [ doronbehar ]; 64 + platforms = lib.platforms.linux; 65 }; 66 })
+4 -4
pkgs/by-name/co/comic-mono/package.nix
··· 27 runHook postInstall 28 ''; 29 30 - meta = with lib; { 31 description = "Legible monospace font that looks like Comic Sans"; 32 longDescription = '' 33 A legible monospace font... the very typeface you’ve been trained to ··· 36 ''; 37 homepage = "https://dtinth.github.io/comic-mono-font/"; 38 39 - license = licenses.mit; 40 - maintainers = with maintainers; [ 41 an-empty-string 42 totoroot 43 ]; 44 - platforms = platforms.all; 45 }; 46 }
··· 27 runHook postInstall 28 ''; 29 30 + meta = { 31 description = "Legible monospace font that looks like Comic Sans"; 32 longDescription = '' 33 A legible monospace font... the very typeface you’ve been trained to ··· 36 ''; 37 homepage = "https://dtinth.github.io/comic-mono-font/"; 38 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ 41 an-empty-string 42 totoroot 43 ]; 44 + platforms = lib.platforms.all; 45 }; 46 }
+7 -7
pkgs/by-name/co/commandergenius/package.nix
··· 18 xorg, 19 }: 20 21 - stdenv.mkDerivation rec { 22 pname = "commandergenius"; 23 version = "3.5.2"; 24 25 src = fetchFromGitLab { 26 owner = "Dringgstein"; 27 repo = "Commander-Genius"; 28 - rev = "v${version}"; 29 hash = "sha256-4WfHdgn8frcDVa3Va6vo/jZihf09vIs+bNdAxScgovE="; 30 }; 31 ··· 72 sed -i 's,APPDIR games,APPDIR bin,' src/install.cmake 73 ''; 74 75 - meta = with lib; { 76 description = "Modern Interpreter for the Commander Keen Games"; 77 longDescription = '' 78 Commander Genius is an open-source clone of ··· 82 are required to do so 83 ''; 84 homepage = "https://github.com/gerstrong/Commander-Genius"; 85 - maintainers = with maintainers; [ hce ]; 86 - license = licenses.gpl2Plus; 87 - platforms = platforms.linux; 88 }; 89 - }
··· 18 xorg, 19 }: 20 21 + stdenv.mkDerivation (finalAttrs: { 22 pname = "commandergenius"; 23 version = "3.5.2"; 24 25 src = fetchFromGitLab { 26 owner = "Dringgstein"; 27 repo = "Commander-Genius"; 28 + tag = "v${finalAttrs.version}"; 29 hash = "sha256-4WfHdgn8frcDVa3Va6vo/jZihf09vIs+bNdAxScgovE="; 30 }; 31 ··· 72 sed -i 's,APPDIR games,APPDIR bin,' src/install.cmake 73 ''; 74 75 + meta = { 76 description = "Modern Interpreter for the Commander Keen Games"; 77 longDescription = '' 78 Commander Genius is an open-source clone of ··· 82 are required to do so 83 ''; 84 homepage = "https://github.com/gerstrong/Commander-Genius"; 85 + maintainers = with lib.maintainers; [ hce ]; 86 + license = lib.licenses.gpl2Plus; 87 + platforms = lib.platforms.linux; 88 }; 89 + })
+9 -9
pkgs/by-name/co/commit-mono/package.nix
··· 3 stdenvNoCC, 4 fetchzip, 5 }: 6 - stdenvNoCC.mkDerivation rec { 7 pname = "commit-mono"; 8 version = "1.143"; 9 10 src = fetchzip { 11 - url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/v${version}/CommitMono-${version}.zip"; 12 hash = "sha256-JTyPgWfbWq+lXQU/rgnyvPG6+V3f+FB5QUkd+I1oFKE="; 13 stripRoot = false; 14 }; ··· 21 22 installPhase = '' 23 runHook preInstall 24 - install -Dm644 CommitMono-${version}/*.otf -t $out/share/fonts/opentype 25 - install -Dm644 CommitMono-${version}/ttfautohint/*.ttf -t $out/share/fonts/truetype 26 runHook postInstall 27 ''; 28 29 - meta = with lib; { 30 description = "Anonymous and neutral programming typeface focused on creating a better reading experience"; 31 homepage = "https://commitmono.com/"; 32 - license = licenses.ofl; 33 - maintainers = [ maintainers.yoavlavi ]; 34 - platforms = platforms.all; 35 }; 36 - }
··· 3 stdenvNoCC, 4 fetchzip, 5 }: 6 + stdenvNoCC.mkDerivation (finalAttrs: { 7 pname = "commit-mono"; 8 version = "1.143"; 9 10 src = fetchzip { 11 + url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/v${finalAttrs.version}/CommitMono-${finalAttrs.version}.zip"; 12 hash = "sha256-JTyPgWfbWq+lXQU/rgnyvPG6+V3f+FB5QUkd+I1oFKE="; 13 stripRoot = false; 14 }; ··· 21 22 installPhase = '' 23 runHook preInstall 24 + install -Dm644 CommitMono-${finalAttrs.version}/*.otf -t $out/share/fonts/opentype 25 + install -Dm644 CommitMono-${finalAttrs.version}/ttfautohint/*.ttf -t $out/share/fonts/truetype 26 runHook postInstall 27 ''; 28 29 + meta = { 30 description = "Anonymous and neutral programming typeface focused on creating a better reading experience"; 31 homepage = "https://commitmono.com/"; 32 + license = lib.licenses.ofl; 33 + maintainers = with lib.maintainers; [ yoavlavi ]; 34 + platforms = lib.platforms.all; 35 }; 36 + })
+3 -3
pkgs/by-name/co/confetty/package.nix
··· 22 "-w" 23 ]; 24 25 - meta = with lib; { 26 description = "Confetti in your TTY"; 27 homepage = "https://github.com/maaslalani/confetty"; 28 - license = licenses.mit; 29 - maintainers = with maintainers; [ figsoda ]; 30 mainProgram = "confetty"; 31 }; 32 }
··· 22 "-w" 23 ]; 24 25 + meta = { 26 description = "Confetti in your TTY"; 27 homepage = "https://github.com/maaslalani/confetty"; 28 + license = lib.licenses.mit; 29 + maintainers = with lib.maintainers; [ figsoda ]; 30 mainProgram = "confetty"; 31 }; 32 }
+5 -5
pkgs/by-name/co/confluencepot/package.nix
··· 12 src = fetchFromGitHub { 13 owner = "SIFalcon"; 14 repo = "confluencePot"; 15 - rev = "v${version}"; 16 hash = "sha256-jIbL6prOUII8o9FghIYa80BytJ9SSuyj/TZmAxwAbJk="; 17 }; 18 ··· 24 ''; 25 26 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 27 - mv $out/bin/confluencePot $out/bin/${pname} 28 ''; 29 30 preFixup = '' ··· 32 install -vD confluence.html -t $out/share 33 ''; 34 35 - meta = with lib; { 36 description = "Honeypot for the Atlassian Confluence OGNL injection vulnerability"; 37 homepage = "https://github.com/SIFalcon/confluencePot"; 38 longDescription = '' 39 ConfluencePot is a simple honeypot for the Atlassian Confluence unauthenticated 40 and remote OGNL injection vulnerability (CVE-2022-26134). 41 ''; 42 - license = with licenses; [ agpl3Plus ]; 43 - maintainers = with maintainers; [ fab ]; 44 mainProgram = "confluencepot"; 45 }; 46 }
··· 12 src = fetchFromGitHub { 13 owner = "SIFalcon"; 14 repo = "confluencePot"; 15 + tag = "v${version}"; 16 hash = "sha256-jIbL6prOUII8o9FghIYa80BytJ9SSuyj/TZmAxwAbJk="; 17 }; 18 ··· 24 ''; 25 26 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 27 + mv $out/bin/confluencePot $out/bin/confluencepot 28 ''; 29 30 preFixup = '' ··· 32 install -vD confluence.html -t $out/share 33 ''; 34 35 + meta = { 36 description = "Honeypot for the Atlassian Confluence OGNL injection vulnerability"; 37 homepage = "https://github.com/SIFalcon/confluencePot"; 38 longDescription = '' 39 ConfluencePot is a simple honeypot for the Atlassian Confluence unauthenticated 40 and remote OGNL injection vulnerability (CVE-2022-26134). 41 ''; 42 + license = with lib.licenses; [ agpl3Plus ]; 43 + maintainers = with lib.maintainers; [ fab ]; 44 mainProgram = "confluencepot"; 45 }; 46 }
+8 -8
pkgs/by-name/co/conspy/package.nix
··· 7 ncurses, 8 }: 9 10 - stdenv.mkDerivation rec { 11 pname = "conspy"; 12 version = "1.16"; 13 14 src = fetchurl { 15 - url = "mirror://sourceforge/project/conspy/conspy-${version}-1/conspy-${version}.tar.gz"; 16 - sha256 = "02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf"; 17 curlOpts = " -A application/octet-stream "; 18 }; 19 ··· 33 autoconf 34 ''; 35 36 - meta = with lib; { 37 description = "Linux text console viewer"; 38 mainProgram = "conspy"; 39 - license = licenses.epl10; 40 - maintainers = with maintainers; [ raskin ]; 41 - platforms = platforms.linux; 42 }; 43 - }
··· 7 ncurses, 8 }: 9 10 + stdenv.mkDerivation (finalAttrs: { 11 pname = "conspy"; 12 version = "1.16"; 13 14 src = fetchurl { 15 + url = "mirror://sourceforge/project/conspy/conspy-${finalAttrs.version}-1/conspy-${finalAttrs.version}.tar.gz"; 16 + hash = "sha256-7l72SOoI0g2QYtsi579ip7cmGvAgU/kWAW0bgKZqVgk="; 17 curlOpts = " -A application/octet-stream "; 18 }; 19 ··· 33 autoconf 34 ''; 35 36 + meta = { 37 description = "Linux text console viewer"; 38 mainProgram = "conspy"; 39 + license = lib.licenses.epl10; 40 + maintainers = with lib.maintainers; [ raskin ]; 41 + platforms = lib.platforms.linux; 42 }; 43 + })
+3 -3
pkgs/by-name/co/copilot-node-server/package.nix
··· 32 forceEmptyCache = true; 33 dontNpmBuild = true; 34 35 - meta = with lib; { 36 description = "Copilot Node.js server"; 37 homepage = src.meta.homepage; 38 - license = licenses.unfree; # I don't know: https://github.com/jfcherng/copilot-node-server/blob/main/LICENSE.md 39 - maintainers = with maintainers; [ DamienCassou ]; 40 mainProgram = "copilot-node-server"; 41 }; 42 }
··· 32 forceEmptyCache = true; 33 dontNpmBuild = true; 34 35 + meta = { 36 description = "Copilot Node.js server"; 37 homepage = src.meta.homepage; 38 + license = lib.licenses.unfree; # I don't know: https://github.com/jfcherng/copilot-node-server/blob/main/LICENSE.md 39 + maintainers = with lib.maintainers; [ DamienCassou ]; 40 mainProgram = "copilot-node-server"; 41 }; 42 }
+5 -5
pkgs/by-name/co/corkscrew/package.nix
··· 5 autoreconfHook, 6 }: 7 8 - stdenv.mkDerivation rec { 9 pname = "corkscrew"; 10 version = "2.0"; 11 src = fetchFromGitHub { 12 owner = "bryanpkc"; 13 repo = "corkscrew"; 14 - rev = "v${version}"; 15 hash = "sha256-JiddvTbuOysenrVWGUEyKSzpCF1PJaYWQUdz3FuLCdw="; 16 }; 17 18 nativeBuildInputs = [ autoreconfHook ]; 19 20 - meta = with lib; { 21 homepage = "https://github.com/bryanpkc/corkscrew"; 22 description = "Tool for tunneling SSH through HTTP proxies"; 23 license = lib.licenses.gpl2Only; 24 - platforms = platforms.unix; 25 mainProgram = "corkscrew"; 26 }; 27 - }
··· 5 autoreconfHook, 6 }: 7 8 + stdenv.mkDerivation (finalAttrs: { 9 pname = "corkscrew"; 10 version = "2.0"; 11 src = fetchFromGitHub { 12 owner = "bryanpkc"; 13 repo = "corkscrew"; 14 + tag = "v${finalAttrs.version}"; 15 hash = "sha256-JiddvTbuOysenrVWGUEyKSzpCF1PJaYWQUdz3FuLCdw="; 16 }; 17 18 nativeBuildInputs = [ autoreconfHook ]; 19 20 + meta = { 21 homepage = "https://github.com/bryanpkc/corkscrew"; 22 description = "Tool for tunneling SSH through HTTP proxies"; 23 license = lib.licenses.gpl2Only; 24 + platforms = lib.platforms.unix; 25 mainProgram = "corkscrew"; 26 }; 27 + })
+4 -4
pkgs/by-name/co/cowsay/package.nix
··· 43 }; 44 }; 45 46 - meta = with lib; { 47 description = "Program which generates ASCII pictures of a cow with a message"; 48 homepage = "https://cowsay.diamonds"; 49 changelog = "https://github.com/cowsay-org/cowsay/releases/tag/v${finalAttrs.version}"; 50 - license = licenses.gpl3Only; 51 - platforms = platforms.all; 52 - maintainers = with maintainers; [ 53 rob 54 anthonyroussel 55 ];
··· 43 }; 44 }; 45 46 + meta = { 47 description = "Program which generates ASCII pictures of a cow with a message"; 48 homepage = "https://cowsay.diamonds"; 49 changelog = "https://github.com/cowsay-org/cowsay/releases/tag/v${finalAttrs.version}"; 50 + license = lib.licenses.gpl3Only; 51 + platforms = lib.platforms.all; 52 + maintainers = with lib.maintainers; [ 53 rob 54 anthonyroussel 55 ];
+4 -4
pkgs/by-name/co/cowsql/package.nix
··· 48 updateScript = nix-update-script { }; 49 }; 50 51 - meta = with lib; { 52 changelog = "https://github.com/cowsql/cowsql/releases/tag/${finalAttrs.version}"; 53 description = "Embeddable, replicated and fault tolerant SQL engine"; 54 homepage = "https://github.com/cowsql/cowsql"; 55 - license = licenses.lgpl3Only; 56 - teams = [ teams.lxc ]; 57 - platforms = platforms.unix; 58 }; 59 })
··· 48 updateScript = nix-update-script { }; 49 }; 50 51 + meta = { 52 changelog = "https://github.com/cowsql/cowsql/releases/tag/${finalAttrs.version}"; 53 description = "Embeddable, replicated and fault tolerant SQL engine"; 54 homepage = "https://github.com/cowsql/cowsql"; 55 + license = lib.licenses.lgpl3Only; 56 + teams = with lib.teams; [ lxc ]; 57 + platforms = lib.platforms.unix; 58 }; 59 })