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
32
pkgs/development/python-modules/pyownet/default.nix
Normal file
32
pkgs/development/python-modules/pyownet/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyownet";
|
||||
version = "0.10.0.post1";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4f2fa4471c2f806b35090bdc6c092305c6eded3ff3736f8b586d35bdb157de62";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/use_2to3/d' setup.py
|
||||
'';
|
||||
|
||||
# tests access network
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyownet.protocol" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python OWFS client library (owserver protocol)";
|
||||
homepage = "https://github.com/miccoli/pyownet";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue