Merge pull request #157342 from magnetophon/networkmanager_dmenu
networkmanager_dmenu: 1.6.0 -> 2.1.0
This commit is contained in:
commit
0f9289e1b2
1 changed files with 7 additions and 4 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue