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
55
pkgs/development/python-modules/slicedimage/default.nix
Normal file
55
pkgs/development/python-modules/slicedimage/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, boto3
|
||||
, diskcache
|
||||
, enum34
|
||||
, packaging
|
||||
, pathlib
|
||||
, numpy
|
||||
, requests
|
||||
, scikitimage
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, isPy27
|
||||
, tifffile
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slicedimage";
|
||||
version = "4.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spacetx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1vpg8varvfx0nj6xscdfm7m118hzsfz7qfzn28r9rsfvrhr0dlcw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boto3
|
||||
diskcache
|
||||
packaging
|
||||
numpy
|
||||
requests
|
||||
scikitimage
|
||||
six
|
||||
tifffile
|
||||
] ++ lib.optionals isPy27 [ pathlib enum34 ];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Ignore tests which require setup, check again if disabledTestFiles can be used
|
||||
pytestFlagsArray = [ "--ignore tests/io_" ];
|
||||
|
||||
pythonImportsCheck = [ "slicedimage" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to access sliced imaging data";
|
||||
homepage = "https://github.com/spacetx/slicedimage";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue