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
34
pkgs/development/python-modules/netdisco/default.nix
Normal file
34
pkgs/development/python-modules/netdisco/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "netdisco";
|
||||
version = "3.0.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-TbtZBILzd8zEYeAXQnB8y+jx0tGyhXivkdybf+vNy9I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests zeroconf ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Broken due to removed discoverables in https://github.com/home-assistant-libs/netdisco/commit/477db5a1dc93919a6c5bd61b4b1d3c80e75785bd
|
||||
"tests/test_xboxone.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"netdisco"
|
||||
"netdisco.discovery"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to scan local network for services and devices";
|
||||
homepage = "https://github.com/home-assistant/netdisco";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue