pkgs: add explicit 'meta.mainProgram'
Since upstream has decided to deprecate the implied value when using `lib.getExe` (see [1]), we should set it explicitly. [1]: https://github.com/NixOS/nixpkgs/pull/246386
This commit is contained in:
parent
761393205c
commit
405965dc72
|
@ -36,6 +36,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "A simple script to query a password from bitwarden";
|
description = "A simple script to query a password from bitwarden";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "bw-pass";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "change-audio";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "change-backlight";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "Nix flake helper to visualize changes in closures";
|
description = "Nix flake helper to visualize changes in closures";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "diff-flake";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,7 @@ qt5.mkDerivation rec {
|
||||||
description = "A CLI drag-and-drop tool";
|
description = "A CLI drag-and-drop tool";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/dragger";
|
homepage = "https://git.belanyi.fr/ambroisie/dragger";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
mainProgram = "dragger";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "Helper script to run rsync in a CI pipeline";
|
description = "Helper script to run rsync in a CI pipeline";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "drone-rsync";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,5 +20,6 @@ buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/appleboy/drone-scp";
|
homepage = "https://github.com/appleboy/drone-scp";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
mainProgram = "drone-scp";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,5 +26,6 @@ buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.clsr.net/util/ff2mpv-go/";
|
homepage = "https://git.clsr.net/util/ff2mpv-go/";
|
||||||
license = licenses.publicDomain;
|
license = licenses.publicDomain;
|
||||||
|
mainProgram = "ff2mpv-go";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "Helper script to query i3 window criterions";
|
description = "Helper script to query i3 window criterions";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "i3-get-window-criteria";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Git mirroring daemon";
|
description = "Git mirroring daemon";
|
||||||
homepage = "https://github.com/alarsyo/lohr";
|
homepage = "https://github.com/alarsyo/lohr";
|
||||||
license = with licenses; [ mit asl20 ];
|
license = with licenses; [ mit asl20 ];
|
||||||
|
mainProgram = "lohr";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,6 +38,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/${pname}";
|
homepage = "https://git.belanyi.fr/ambroisie/${pname}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
mainProgram = "matrix-notifier";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "osc52";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,6 +34,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "A simple script to query a password from rbw";
|
description = "A simple script to query a password from rbw";
|
||||||
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
|
mainProgram = "rbw-pass";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
|
@ -74,6 +74,7 @@ stdenvNoCC.mkDerivation rec {
|
||||||
description = "WiFi password sharing via QR codes";
|
description = "WiFi password sharing via QR codes";
|
||||||
homepage = "https://github.com/kokoye2007/wifi-qr";
|
homepage = "https://github.com/kokoye2007/wifi-qr";
|
||||||
license = with licenses; [ gpl3Plus ];
|
license = with licenses; [ gpl3Plus ];
|
||||||
|
mainProgram = "wifi-qr";
|
||||||
maintainers = with maintainers; [ ambroisie ];
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue