pythonPackages.tempora : move to separate expression

This commit is contained in:
wisut hantanong 2017-08-31 18:16:17 +07:00
parent ed997b153c
commit 43acfe0f49
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi
, setuptools_scm, six }:
buildPythonPackage rec {
version = "1.4";
pname = "tempora";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0ysvns22i5hzhl5ln4n86bq10j8xwvd09z8qw1zjr3s0fj3lynza";
};
doCheck = false;
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ six ];
}

View File

@ -28183,9 +28183,7 @@ EOF
propagatedBuildInputs = with self; [ websocket_client requests ]; propagatedBuildInputs = with self; [ websocket_client requests ];
}; };
tempora = buildPythonPackage rec { tempora= callPackage ../development/python-modules/tempora { };
name = "tempora-${version}";
version = "1.4";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "mirror://pypi/t/tempora/${name}.tar.gz"; url = "mirror://pypi/t/tempora/${name}.tar.gz";