3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #122763 from dotlambda/django-pipeline-drop

pythonPackages.django-pipeline: drop
This commit is contained in:
Sandro 2021-05-12 23:17:11 +02:00 committed by GitHub
commit 3d06d98b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 39 deletions

View file

@ -1,37 +0,0 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, django, futures ? null, mock ? null, jinja2, jsmin, slimit }:
buildPythonPackage rec {
pname = "django-pipeline";
version = "1.6.14";
# no tests on PyPI
src = fetchFromGitHub {
owner = "jazzband";
repo = pname;
rev = version;
sha256 = "1xf732bd17mgha75jfhlnms46ib2pffhpfa0ca7bmng9jhbvsl9j";
};
postPatch = ''
substituteInPlace tests/tests/test_compiler.py \
--replace "/usr/bin/env" ""
'';
propagatedBuildInputs = [ django ] ++ lib.optional (!isPy3k) futures;
checkInputs = [ jinja2 jsmin slimit ] ++ lib.optional (!isPy3k) mock;
checkPhase = ''
export PYTHONPATH=.:$PYTHONPATH
export DJANGO_SETTINGS_MODULE=tests.settings
${django}/bin/django-admin.py test tests
'';
meta = with lib; {
description = "Pipeline is an asset packaging library for Django";
homepage = "https://github.com/cyberdelia/django-pipeline";
license = licenses.mit;
broken = true;
};
}

View file

@ -1928,8 +1928,6 @@ in {
django-picklefield = callPackage ../development/python-modules/django-picklefield { };
django_pipeline = callPackage ../development/python-modules/django-pipeline { };
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
django-postgresql-netfields = callPackage ../development/python-modules/django-postgresql-netfields { };