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
46
pkgs/development/python-modules/nagiosplugin/default.nix
Normal file
46
pkgs/development/python-modules/nagiosplugin/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, twine
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nagiosplugin";
|
||||
version = "1.3.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-vOr67DWfAyOT3dVgrizI0WNhODPsY8k85xifhZBOU9Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
twine
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
numpy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test relies on who, which does not work in the sandbox
|
||||
"test_check_users"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nagiosplugin"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python class library which helps with writing Nagios (Icinga) compatible plugins";
|
||||
homepage = "https://github.com/mpounsett/nagiosplugin";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ symphorien ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue