Skip to content

Commit

Permalink
pythonPackages.tempora : move to separate expression
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzup committed Aug 31, 2017
1 parent ed997b1 commit 43acfe0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
19 changes: 19 additions & 0 deletions pkgs/development/python-modules/tempora/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
}
4 changes: 1 addition & 3 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28183,9 +28183,7 @@ EOF
propagatedBuildInputs = with self; [ websocket_client requests ];
};

tempora = buildPythonPackage rec {
name = "tempora-${version}";
version = "1.4";
tempora= callPackage ../development/python-modules/tempora { };

src = pkgs.fetchurl {
url = "mirror://pypi/t/tempora/${name}.tar.gz";
Expand Down

0 comments on commit 43acfe0

Please sign in to comment.