forked from mirrors/nixpkgs
nbstripout: fix build
This commit is contained in:
parent
296b2ab3c4
commit
fca4359376
|
@ -1,6 +1,6 @@
|
||||||
{lib, python2Packages, git, mercurial, coreutils}:
|
{lib, python, git, mercurial, coreutils}:
|
||||||
|
|
||||||
with python2Packages;
|
with python.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
version = "0.3.6";
|
version = "0.3.6";
|
||||||
pname = "nbstripout";
|
pname = "nbstripout";
|
||||||
|
@ -8,7 +8,7 @@ buildPythonApplication rec {
|
||||||
# Mercurial should be added as a build input but because it's a Python
|
# 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
|
# application, it would mess up the Python environment. Thus, don't add it
|
||||||
# here, instead add it to PATH when running unit tests
|
# here, instead add it to PATH when running unit tests
|
||||||
checkInputs = [ pytest pytest-flake8 pytest-cram git ];
|
checkInputs = [ pytest pytest-flake8 git ];
|
||||||
nativeBuildInputs = [ pytestrunner ];
|
nativeBuildInputs = [ pytestrunner ];
|
||||||
propagatedBuildInputs = [ ipython nbformat ];
|
propagatedBuildInputs = [ ipython nbformat ];
|
||||||
|
|
||||||
|
|
|
@ -20194,7 +20194,7 @@ in
|
||||||
|
|
||||||
clerk = callPackage ../applications/audio/clerk { };
|
clerk = callPackage ../applications/audio/clerk { };
|
||||||
|
|
||||||
nbstripout = callPackage ../applications/version-management/nbstripout { };
|
nbstripout = callPackage ../applications/version-management/nbstripout { python = python3; };
|
||||||
|
|
||||||
ncmpc = callPackage ../applications/audio/ncmpc { };
|
ncmpc = callPackage ../applications/audio/ncmpc { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue