diff --git a/pkgs/development/python-modules/hypchat/default.nix b/pkgs/development/python-modules/hypchat/default.nix new file mode 100644 index 000000000000..6574de1be63f --- /dev/null +++ b/pkgs/development/python-modules/hypchat/default.nix @@ -0,0 +1,15 @@ +{ stdenv, buildPythonPackage, fetchPypi +, requests, six, dateutil }: + +buildPythonPackage rec { + pname = "hypchat"; + version = "0.21"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1sd8f3gihagaqd848dqy6xw457fa4f9bla1bfyni7fq3h76sjdzg"; + }; + + propagatedBuildInputs = [ requests six dateutil ]; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 82362e754605..fa1fff79ce41 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -28185,29 +28185,7 @@ EOF tempora= callPackage ../development/python-modules/tempora { }; - src = pkgs.fetchurl { - url = "mirror://pypi/t/tempora/${name}.tar.gz"; - sha256 = "0ysvns22i5hzhl5ln4n86bq10j8xwvd09z8qw1zjr3s0fj3lynza"; - }; - - doCheck = false; - - buildInputs = with self; [ setuptools_scm ]; - - propagatedBuildInputs = with self; [ six ]; - }; - - hypchat = buildPythonPackage rec { - name = "hypchat-${version}"; - version = "0.21"; - - src = pkgs.fetchurl { - url = "mirror://pypi/h/hypchat/${name}.tar.gz"; - sha256 = "1sd8f3gihagaqd848dqy6xw457fa4f9bla1bfyni7fq3h76sjdzg"; - }; - - propagatedBuildInputs = with self; [ requests six dateutil ]; - }; + hypchat = callPackage ../development/python-modules/hypchat { }; pivy = buildPythonPackage rec { version = "20101207";