mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPakcages.django_modelcluster: refactor move to python-modules
This commit is contained in:
parent
194dd4b2f2
commit
90859b17c6
2 changed files with 29 additions and 20 deletions
|
@ -0,0 +1,28 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytz
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-modelcluster";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1plsdi44dvsj2sfx79lsrccjfg0ymajcsf5n0mln4cwd4qi5mwpx";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ pytz six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
|
||||
homepage = https://github.com/torchbox/django-modelcluster/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue