uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/python-modules/nbmerge/default.nix
Normal file
34
pkgs/development/python-modules/nbmerge/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nbformat
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbmerge";
|
||||
version = "unstable-2017-10-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jbn";
|
||||
repo = pname;
|
||||
rev = "fc0ba95e8422340317358ffec4404235defbc06a";
|
||||
sha256 = "1cn550kjadnxc1sx2xy814248fpzrj3lgvrmsbrwmk03vwaa2hmi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nbformat ];
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
patchShebangs .
|
||||
nosetests -v
|
||||
PATH=$PATH:$out/bin ./cli_tests.sh
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A tool to merge/concatenate Jupyter (IPython) notebooks";
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue