networkmanager_dmenu: init at unstable-2017-04-13
This commit is contained in:
parent
87a450e466
commit
4c6d267ae8
@ -218,6 +218,7 @@
|
|||||||
jcumming = "Jack Cummings <jack@mudshark.org>";
|
jcumming = "Jack Cummings <jack@mudshark.org>";
|
||||||
jdagilliland = "Jason Gilliland <jdagilliland@gmail.com>";
|
jdagilliland = "Jason Gilliland <jdagilliland@gmail.com>";
|
||||||
jefdaj = "Jeffrey David Johnson <jefdaj@gmail.com>";
|
jefdaj = "Jeffrey David Johnson <jefdaj@gmail.com>";
|
||||||
|
jensbin = "Jens Binkert <jensbin@protonmail.com>";
|
||||||
jerith666 = "Matt McHenry <github@matt.mchenryfamily.org>";
|
jerith666 = "Matt McHenry <github@matt.mchenryfamily.org>";
|
||||||
jfb = "James Felix Black <james@yamtime.com>";
|
jfb = "James Felix Black <james@yamtime.com>";
|
||||||
jgeerds = "Jascha Geerds <jascha@jgeerds.name>";
|
jgeerds = "Jascha Geerds <jascha@jgeerds.name>";
|
||||||
|
@ -1,35 +1,40 @@
|
|||||||
{ stdenv, glib, fetchFromGitHub, networkmanager, python3Packages
|
{ stdenv, glib, fetchFromGitHub, networkmanager, python3Packages
|
||||||
, gobjectIntrospection, dmenu, makeWrapper }:
|
, gobjectIntrospection, dmenu }:
|
||||||
|
|
||||||
let inherit (python3Packages) python pygobject3;
|
let inherit (python3Packages) python pygobject3;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "networkmanager_dmenu-${version}";
|
name = "networkmanager_dmenu-unstable-${version}";
|
||||||
version = "git-20170301";
|
version = "2017-04-13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "firecat53";
|
owner = "firecat53";
|
||||||
repo = "networkmanager-dmenu";
|
repo = "networkmanager-dmenu";
|
||||||
rev = "f631f34645cd581eb14cb2f3286fa02dcc60283f";
|
rev = "fbc0704702b32c2efb30ba6b5c0ad6f054a71a18";
|
||||||
sha256 = "0f3rkyhhyy3ab0bnaasazx33b952gfl3g3b3sg8fl00n90l53d11";
|
sha256 = "1584zrhla1njvkrbvb1rq66q06gs510f0l1ls3z7x7jmn322y6yr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib python pygobject3 makeWrapper gobjectIntrospection networkmanager ];
|
buildInputs = [ glib python pygobject3 gobjectIntrospection networkmanager python3Packages.wrapPython ];
|
||||||
|
|
||||||
phases = "unpackPhase installPhase";
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp networkmanager_dmenu $out/bin/
|
cp networkmanager_dmenu $out/bin/
|
||||||
wrapProgram $out/bin/networkmanager_dmenu \
|
|
||||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
||||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
makeWrapperArgs="\
|
||||||
|
--prefix GI_TYPELIB_PATH : $GI_TYPELIB_PATH \
|
||||||
|
--prefix PYTHONPATH : \"$(toPythonPath $out):$(toPythonPath ${pygobject3})\""
|
||||||
|
wrapPythonPrograms
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Small script to manage NetworkManager connections with dmenu instead of nm-applet";
|
description = "Small script to manage NetworkManager connections with dmenu instead of nm-applet";
|
||||||
homepage = https://github.com/firecat53/networkmanager-dmenu;
|
homepage = https://github.com/firecat53/networkmanager-dmenu;
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
maintainers = [ ];
|
maintainers = [ stdenv.lib.maintainers.jensbin ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user