Merge pull request #275550 from SuperSandro2000/mainProgramm

treewide: don't use pname for mainProgram where pname is static
This commit is contained in:
Peder Bergebakken Sundt 2023-12-21 01:04:13 +01:00 committed by GitHub
commit 2f82900699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 19 deletions

View file

@ -150,6 +150,6 @@ rustPlatform.buildRustPackage {
license = licenses.agpl3Only;
maintainers = with maintainers; [ cofob christoph-heiss ];
platforms = platforms.linux;
mainProgram = pname;
mainProgram = "proxmox-backup-client";
};
}

View file

@ -21,7 +21,7 @@ buildGoModule rec {
meta = with lib; {
description = "Wallet initializer utility for lnd";
homepage = "https://github.com/lightninglabs/lndinit";
mainProgram = pname;
mainProgram = "lndinit";
license = licenses.mit;
maintainers = with maintainers; [aldoborrero];
};

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.bluej.org/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl2ClasspathPlus;
mainProgram = pname;
mainProgram = "bluej";
maintainers = with maintainers; [ chvp ];
platforms = platforms.linux;
};

View file

@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.greenfoot.org/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl2ClasspathPlus;
mainProgram = pname;
mainProgram = "greenfoot";
maintainers = [ maintainers.chvp ];
platforms = platforms.linux;
};

View file

@ -44,6 +44,6 @@ in appimageTools.wrapType2 rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ aw ];
platforms = [ "x86_64-linux" ];
mainProgram = pname;
mainProgram = "chrysalis";
};
}

View file

@ -17,7 +17,7 @@ buildGoModule rec {
description = "Show off your most used shell commands.";
homepage = "https://github.com/irevenko/tsukae";
license = licenses.mit;
mainProgram = pname;
mainProgram = "tsukae";
maintainers = with maintainers; [ l3af ];
};
}

View file

@ -41,7 +41,7 @@ buildGo121Module rec {
description = "A bootstrapping and management tool for k0s clusters.";
homepage = "https://k0sproject.io/";
license = licenses.asl20;
mainProgram = pname;
mainProgram = "k0sctl";
maintainers = with maintainers; [ nickcao qjoly ];
};
}

View file

@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/Gerschtli/dwm-status/blob/master/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ gerschtli ];
mainProgram = pname;
mainProgram = "dwm-status";
platforms = platforms.linux;
};
}

View file

@ -33,7 +33,7 @@ rustPlatform.buildRustPackage {
homepage = "https://github.com/bergercookie/asm-lsp";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ NotAShelf ];
mainProgram = pname;
mainProgram = "asm-lsp";
platforms = lib.platforms.linux;
};
}

View file

@ -50,6 +50,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.bsd3;
maintainers = with maintainers; [ tirimia ];
platforms = with platforms; linux ++ darwin;
mainProgram = pname;
mainProgram = "aws-gate";
};
}

View file

@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/ellsclytn/nofi/";
changelog = "https://github.com/ellsclytn/nofi/raw/v${version}/CHANGELOG.md";
license = [ licenses.asl20 /* or */ licenses.mit ];
mainProgram = pname;
mainProgram = "nofi";
maintainers = [ maintainers.magnetophon ];
};
}

View file

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
homepage = "https://tinyscheme.sourceforge.net/";
changelog = "https://tinyscheme.sourceforge.net/CHANGES";
license = licenses.bsdOriginal;
mainProgram = pname;
mainProgram = "tinyscheme";
maintainers = [ maintainers.ebzzry ];
platforms = platforms.unix;
};

View file

@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
license = licenses.unfreeRedistributable;
platforms = nvidia_x11.meta.platforms;
maintainers = with maintainers; [ abbradar ];
mainProgram = pname;
mainProgram = "nvidia-persistenced";
};
}

View file

@ -37,7 +37,7 @@ let
install -Dm555 -t $out/bin scripts/${pname}
'';
meta.mainProgram = pname;
meta.mainProgram = "keyd-application-mapper";
};
in

View file

@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
description = "A simple command-line interface for ChatGPT API.";
homepage = "https://github.com/fuyufjh/heygpt";
license = licenses.mit;
mainProgram = pname;
mainProgram = "heygpt";
maintainers = with maintainers; [aldoborrero];
};
}

View file

@ -40,6 +40,6 @@ python3Packages.buildPythonApplication rec {
license = with lib.licenses; [ gpl3Plus ];
maintainers = with lib.maintainers; [ eclairevoyant ];
platforms = lib.platforms.all;
mainProgram = pname;
mainProgram = "asciinema";
};
}

View file

@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
description = "Flash OS images to SD cards and USB drives, safely and easily";
homepage = "https://etcher.io/";
license = licenses.asl20;
mainProgram = pname;
mainProgram = "etcher";
maintainers = with maintainers; [ wegank ];
platforms = [ "x86_64-linux" ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];

View file

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/efernau/rot8";
license = licenses.mit;
maintainers = [ maintainers.smona ];
mainProgram = pname;
mainProgram = "rot8";
platforms = platforms.linux;
};
}

View file

@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ twz123 ];
mainProgram = pname;
mainProgram = "yx";
};
}