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
26
pkgs/development/python-modules/pyserial/default.nix
Normal file
26
pkgs/development/python-modules/pyserial/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, lib, fetchPypi, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyserial";
|
||||
version="3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nyd4m4mnrz8scbfqn4zpq8gnbl4x42w5zz62vcgpzqd2waf0xrw";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./001-rfc2217-only-negotiate-on-value-change.patch
|
||||
./002-rfc2217-timeout-setter-for-rfc2217.patch
|
||||
];
|
||||
|
||||
checkPhase = "python -m unittest discover -s test";
|
||||
doCheck = !stdenv.hostPlatform.isDarwin; # broken on darwin
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pyserial/pyserial";
|
||||
license = licenses.psfl;
|
||||
description = "Python serial port extension";
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue