networkmanager_dmenu: 1.6.0 -> 2.1.0

This commit is contained in:
Bart Brouns 2022-01-30 03:03:46 +01:00
parent e303529d40
commit 1cd8006fdd

View File

@ -4,13 +4,13 @@
let inherit (python3Packages) python pygobject3;
in stdenv.mkDerivation rec {
pname = "networkmanager_dmenu";
version = "1.6.0";
version = "2.1.0";
src = fetchFromGitHub {
owner = "firecat53";
repo = "networkmanager-dmenu";
rev = version;
sha256 = "1liidqh8c33pxyb07qyj0jkd0fdak73g9r2iwiq62vfzrpik09k0";
rev = "v${version}";
sha256 = "sha256-btwiKxmb1xDtPSTOIvpHJDQ5SY1gnBWlKnYOzzSLDEY=";
};
buildInputs = [ glib python pygobject3 gobject-introspection networkmanager python3Packages.wrapPython ];
@ -18,8 +18,11 @@ in stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/bin $out/share/applications $out/share/doc/$pname
cp networkmanager_dmenu $out/bin/
cp networkmanager_dmenu.desktop $out/share/applications
cp README.md $out/share/doc/$pname/
cp config.ini.example $out/share/doc/$pname/
'';
postFixup = ''