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
66
pkgs/development/python-modules/jeepney/default.nix
Normal file
66
pkgs/development/python-modules/jeepney/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, flit-core
|
||||
, async-timeout
|
||||
, dbus
|
||||
, pytest
|
||||
, pytest-trio
|
||||
, pytest-asyncio
|
||||
, testpath
|
||||
, trio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jeepney";
|
||||
version = "0.8.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
async-timeout
|
||||
dbus
|
||||
pytest
|
||||
pytest-trio
|
||||
pytest-asyncio
|
||||
testpath
|
||||
trio
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf -- pytest
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jeepney"
|
||||
"jeepney.auth"
|
||||
"jeepney.io"
|
||||
"jeepney.io.asyncio"
|
||||
"jeepney.io.blocking"
|
||||
"jeepney.io.threading"
|
||||
"jeepney.io.trio"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/takluyver/jeepney";
|
||||
description = "Pure Python DBus interface";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue