pythonPackages.hypchat : move to separate expression

This commit is contained in:
wisut hantanong 2017-08-31 18:19:12 +07:00
parent 43acfe0f49
commit 6ba7b4c672
2 changed files with 16 additions and 23 deletions

View File

@ -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 ];
}

View File

@ -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";