summary refs log tree commit diff
path: root/pkgs/applications/version-management
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-12-29 23:04:28 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2019-12-30 16:46:55 +0100
commitfca435937687a670d190a8f6195e07e24f704aff (patch)
treed0680f2f5360482b474aabae486f06170e395fba /pkgs/applications/version-management
parent296b2ab3c437a75636d3d659b7cdbdaa569dac84 (diff)
downloadnixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar.gz
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar.bz2
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar.lz
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar.xz
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.tar.zst
nixpkgs-fca435937687a670d190a8f6195e07e24f704aff.zip
nbstripout: fix build
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r--pkgs/applications/version-management/nbstripout/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/version-management/nbstripout/default.nix b/pkgs/applications/version-management/nbstripout/default.nix
index b0a7108ac07..797bc782496 100644
--- a/pkgs/applications/version-management/nbstripout/default.nix
+++ b/pkgs/applications/version-management/nbstripout/default.nix
@@ -1,6 +1,6 @@
-{lib, python2Packages, git, mercurial, coreutils}:
+{lib, python, git, mercurial, coreutils}:
 
-with python2Packages;
+with python.pkgs;
 buildPythonApplication rec {
   version = "0.3.6";
   pname = "nbstripout";
@@ -8,7 +8,7 @@ buildPythonApplication rec {
   # Mercurial should be added as a build input but because it's a Python
   # application, it would mess up the Python environment. Thus, don't add it
   # here, instead add it to PATH when running unit tests
-  checkInputs = [ pytest pytest-flake8 pytest-cram git ];
+  checkInputs = [ pytest pytest-flake8 git ];
   nativeBuildInputs = [ pytestrunner ];
   propagatedBuildInputs = [ ipython nbformat ];