Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e295fd813709
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e3926c8043cf
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 16, 2019

  1. Copy the full SHA
    4dcbdbc View commit details

Commits on Jun 30, 2019

  1. Merge pull request #63224 from risicle/ris-django-taggit-fix

    pythonPackages.django_taggit: fix build, enable tests
    worldofpeace authored Jun 30, 2019
    Copy the full SHA
    e3926c8 View commit details
Showing with 12 additions and 1 deletion.
  1. +12 −1 pkgs/development/python-modules/django_taggit/default.nix
13 changes: 12 additions & 1 deletion pkgs/development/python-modules/django_taggit/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{ stdenv
, buildPythonPackage
, python
, fetchPypi
, pythonOlder
, django
, mock
, isort
}:

buildPythonPackage rec {
@@ -14,7 +18,14 @@ buildPythonPackage rec {
sha256 = "a21cbe7e0879f1364eef1c88a2eda89d593bf000ebf51c3f00423c6927075dce";
};

doCheck = false;
propagatedBuildInputs = [ isort django ];

checkInputs = [ mock ];
checkPhase = ''
# prove we're running tests against installed package, not build dir
rm -r taggit
${python.interpreter} -m django test --settings=tests.settings
'';

meta = with stdenv.lib; {
description = "django-taggit is a reusable Django application for simple tagging";