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
33
pkgs/development/python-modules/pynut2/default.nix
Normal file
33
pkgs/development/python-modules/pynut2/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynut2";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mezz64";
|
||||
repo = "python-nut2";
|
||||
rev = version;
|
||||
sha256 = "1lg7n1frndfgw73s0ssl1h7kc6zxm7fpiwlc6v6d60kxzaj1dphx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynut2.nut2" ];
|
||||
|
||||
# tests are unmaintained and broken
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "API overhaul of PyNUT, a Python library to allow communication with NUT (Network UPS Tools) servers.";
|
||||
homepage = "https://github.com/mezz64/python-nut2";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = [ maintainers.luker ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue