diff --git a/pkgs/development/python-modules/dmenu/default.nix b/pkgs/development/python-modules/dmenu/default.nix new file mode 100644 index 000000000000..d7ec8161ef5e --- /dev/null +++ b/pkgs/development/python-modules/dmenu/default.nix @@ -0,0 +1,24 @@ +{ buildPythonPackage, lib, fetchPypi, dmenu }: + +buildPythonPackage rec { + pname = "dmenu-python"; + version = "0.2.1"; + + src = fetchPypi { + inherit version; + pname = "dmenu"; + sha256 = "06v2fq0ciallbib7sbk4kncj0n3gdqp1kz8n5k2669x49wyh34wm"; + }; + + propagatedBuildInputs = [ dmenu ]; + + # No tests existing + doCheck = false; + + meta = { + description = "A Python wrapper for dmenu"; + homepage = http://dmenu.readthedocs.io; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.nico202 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c3e2e99c9432..ba4caee70148 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3922,6 +3922,8 @@ in { discogs_client = callPackage ../development/python-modules/discogs_client { }; + dmenu-python = callPackage ../development/python-modules/dmenu { }; + dnspython = callPackage ../development/python-modules/dnspython { }; dns = self.dnspython; # Alias for compatibility, 2017-12-10