Skip to content

Commit

Permalink
pythonPackages.django_pipeline: move expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 20, 2018
1 parent 7a263b9 commit ba74cf4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/django-pipeline/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchPypi
, django, futures }:

buildPythonPackage rec {
pname = "django-pipeline";
version = "1.5.1";

src = fetchPypi {
inherit pname version;
sha256 = "1y49fa8jj7x9qjj5wzhns3zxwj0s73sggvkrv660cqw5qb7d8hha";
};

propagatedBuildInputs = [ django futures ];

meta = with lib; {
description = "Pipeline is an asset packaging library for Django";
homepage = https://github.com/cyberdelia/django-pipeline;
license = licenses.mit;
};
}
18 changes: 1 addition & 17 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6883,23 +6883,7 @@ in {
};
};

django_pipeline = buildPythonPackage rec {
name = "django-pipeline-${version}";
version = "1.5.1";

src = pkgs.fetchurl {
url = "mirror://pypi/d/django-pipeline/${name}.tar.gz";
sha256 = "1y49fa8jj7x9qjj5wzhns3zxwj0s73sggvkrv660cqw5qb7d8hha";
};

propagatedBuildInputs = with self; [ django futures ];

meta = with stdenv.lib; {
description = "Pipeline is an asset packaging library for Django";
homepage = https://github.com/cyberdelia/django-pipeline;
license = stdenv.lib.licenses.mit;
};
};
django_pipeline = callPackage ../development/python-modules/django-pipeline { };

django_pipeline_1_3 = self.django_pipeline.overrideDerivation (super: rec {
name = "django-pipeline-1.3.27";
Expand Down

0 comments on commit ba74cf4

Please sign in to comment.