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
27
pkgs/development/python-modules/coapthon3/default.nix
Normal file
27
pkgs/development/python-modules/coapthon3/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildPythonPackage, cachetools, fetchFromGitHub, isPy27, lib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CoAPthon3";
|
||||
version = "1.0.2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tanganelli";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-9QApoPUu3XFZY/lgjAsf5r2StFiRtUd1UXWDrzYUh6w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cachetools ];
|
||||
|
||||
# tests take in the order of 10 minutes to execute and sometimes hang forever on tear-down
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "coapthon" ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Python3 library to the CoAP protocol compliant with the RFC.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ urbas ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue