diff --git a/pkgs/tools/networking/networkmanager/dmenu/default.nix b/pkgs/tools/networking/networkmanager/dmenu/default.nix index 9ea3dde19ab3..741c73494337 100644 --- a/pkgs/tools/networking/networkmanager/dmenu/default.nix +++ b/pkgs/tools/networking/networkmanager/dmenu/default.nix @@ -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 = ''