pythonPackages.django_pipeline: move expression

This commit is contained in:
Robert Schütz 2018-03-20 09:58:15 +01:00
parent 7a263b9af9
commit ba74cf4d5c
2 changed files with 21 additions and 17 deletions

View File

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

View File

@ -6883,23 +6883,7 @@ in {
}; };
}; };
django_pipeline = buildPythonPackage rec { django_pipeline = callPackage ../development/python-modules/django-pipeline { };
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_1_3 = self.django_pipeline.overrideDerivation (super: rec { django_pipeline_1_3 = self.django_pipeline.overrideDerivation (super: rec {
name = "django-pipeline-1.3.27"; name = "django-pipeline-1.3.27";