nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.django_treebeard: refactor move to python-modules

authored by

Chris Ostrouchov and committed by
Frederik Rietdijk
0e8cf616 13b5bfba

+31 -19
+30
pkgs/development/python-modules/django_treebeard/default.nix
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytest 5 + , django 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "django-treebeard"; 10 + version = "4.3"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "c21db06a8d4943bf2a28d9d7a119058698fb76116df2679ecbf15a46a501de42"; 15 + }; 16 + 17 + buildInputs = [ pytest ]; 18 + propagatedBuildInputs = [ django ]; 19 + 20 + # tests fail "AppRegistryNotReady("Apps aren't loaded yet.")" 21 + doCheck = false; 22 + 23 + meta = with stdenv.lib; { 24 + description = "Efficient tree implementations for Django 1.6+"; 25 + homepage = https://tabo.pe/projects/django-treebeard/; 26 + maintainers = with maintainers; [ desiderius ]; 27 + license = licenses.asl20; 28 + }; 29 + 30 + }
+1 -19
pkgs/top-level/python-packages.nix
··· 2314 2314 2315 2315 django_taggit = callPackage ../development/python-modules/django_taggit { }; 2316 2316 2317 - django_treebeard = buildPythonPackage rec { 2318 - name = "django-treebeard-${version}"; 2319 - version = "3.0"; 2320 - 2321 - src = pkgs.fetchurl { 2322 - url = "mirror://pypi/d/django-treebeard/${name}.tar.gz"; 2323 - sha256 = "10p9rb2m1zccszg7590fjd0in6rabzsh86f5m7qm369mapc3b6dc"; 2324 - }; 2325 - 2326 - buildInputs = with self; [ pytest ]; 2327 - propagatedBuildInputs = with self; [ django ]; 2328 - 2329 - meta = { 2330 - description = "Efficient tree implementations for Django 1.6+"; 2331 - homepage = https://tabo.pe/projects/django-treebeard/; 2332 - maintainers = with maintainers; [ desiderius ]; 2333 - license = licenses.asl20; 2334 - }; 2335 - }; 2317 + django_treebeard = callPackage ../development/python-modules/django_treebeard { }; 2336 2318 2337 2319 django_pipeline = callPackage ../development/python-modules/django-pipeline { }; 2338 2320