git.iko.soy/typeable/nixpkgs
on master help sign in
nbstripout: 0.3.1 -> 0.3.6
commit8b51ee3667a7492ade1ae6eff1cb193bbfa992f6 authorJaakko Luttinen <jaakko.luttinen@iki.fi> dateSat 7 Sep 2019, 14:43 (7 years ago) parent4e60699
1 file changed+5−24
pkgs/applications/version-management/nbstripout/default.nix+5−24
pkgs/applications/version-management/nbstripout/default.nix+5−24
@@ -1,8 +1,8 @@
1−{lib, python2Packages, fetchFromGitHub, fetchurl, git, mercurial, coreutils}:
1+{lib, python2Packages, git, mercurial, coreutils}:
22
33with python2Packages;
44buildPythonApplication rec {
5− version = "0.3.1";
5+ version = "0.3.6";
66 pname = "nbstripout";
77
88 # Mercurial should be added as a build input but because it's a Python
@@ -12,30 +12,11 @@ buildPythonApplication rec {
1212 nativeBuildInputs = [ pytestrunner ];
1313 propagatedBuildInputs = [ ipython nbformat ];
1414
15− # PyPI source is currently missing tests. Thus, use GitHub instead.
16− # See: https://github.com/kynan/nbstripout/issues/73
17− # Use PyPI again after it has been fixed in a release.
18− src = fetchFromGitHub {
19− owner = "kynan";
20− repo = pname;
21− rev = version;
22− sha256 = "1jifqmszjzyaqzaw2ir83k5fdb04iyxdad4lclawpb42hbink9ws";
15+ src = fetchPypi {
16+ inherit pname version;
17+ sha256 = "1x6010akw7iqxn7ba5m6malfr2fvaf0bjp3cdh983qn1s7vwlq0r";
2318 };
2419
25− patches = [
26− (
27− # Fix git diff tests by using --no-index.
28− # See: https://github.com/kynan/nbstripout/issues/74
29− #
30− # Remove this patch once the pull request has been merged and a new
31− # release made.
32− fetchurl {
33− url = "https://github.com/jluttine/nbstripout/commit/03e28424fb788dd09a95e99814977b0d0846c0b4.patch";
34− sha256 = "09myfb77a2wh8lqqs9fcpam97vmaw8b7zbq8n5gwn6d80zbl7dn0";
35− }
36− )
37− ];
38−
3920 # for some reason, darwin uses /bin/sh echo native instead of echo binary, so
4021 # force using the echo binary
4122 postPatch = ''