diff --git a/pkgs/development/python-modules/beanstalkc/default.nix b/pkgs/development/python-modules/beanstalkc/default.nix new file mode 100644 index 00000000000..9ac9cf831eb --- /dev/null +++ b/pkgs/development/python-modules/beanstalkc/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchPypi, buildPythonPackage }: + +buildPythonPackage rec { + pname = "beanstalkc"; + version = "0.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "98978e57797320146f4b233286d9a02f65d20bad0168424118839fc608085280"; + }; + + meta = { + description = "A simple beanstalkd client library for Python"; + maintainers = with stdenv.lib.maintainers; [ aanderse ]; + license = with stdenv.lib.licenses; [ asl20 ]; + homepage = https://github.com/earl/beanstalkc; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c81e74cb8f..be2d703f20b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -268,6 +268,8 @@ in { bayespy = callPackage ../development/python-modules/bayespy { }; + beanstalkc = disabledIf isPy3k (callPackage ../development/python-modules/beanstalkc {}); + bitarray = callPackage ../development/python-modules/bitarray { }; bitcoinlib = callPackage ../development/python-modules/bitcoinlib { };