pythonPackages.django_pipeline: move expression
This commit is contained in:
parent
7a263b9af9
commit
ba74cf4d5c
20
pkgs/development/python-modules/django-pipeline/default.nix
Normal file
20
pkgs/development/python-modules/django-pipeline/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user