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
57
pkgs/development/python-modules/pims/default.nix
Normal file
57
pkgs/development/python-modules/pims/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, imageio
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scikitimage
|
||||
, slicerator
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pims";
|
||||
version = "0.6.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "soft-matter";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QdllA1QTSJ8vWaSJ0XoUanX53sb4RaOmdXBCFEsoWMU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
slicerator
|
||||
imageio
|
||||
numpy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
scikitimage
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pims"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# NotImplementedError: Do not know how to deal with infinite readers
|
||||
"TestVideo_ImageIO"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface";
|
||||
homepage = "https://github.com/soft-matter/pims";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue