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
42
pkgs/development/python-modules/dbus-next/default.nix
Normal file
42
pkgs/development/python-modules/dbus-next/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, dbus, pytest, pytest-cov, pytest-asyncio, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-next";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "altdesktop";
|
||||
repo = "python-dbus-next";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-EKEQZFRUe+E65Z6DNCJFL5uCI5kbXrN7Tzd4O0X5Cqo=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
dbus
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
];
|
||||
|
||||
# test_peer_interface hits a timeout
|
||||
checkPhase = ''
|
||||
dbus-run-session --config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||
${python.interpreter} -m pytest -sv --cov=dbus_next \
|
||||
-k "not test_peer_interface"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
homepage = "https://github.com/altdesktop/python-dbus-next";
|
||||
description = "A zero-dependency DBus library for Python with asyncio support";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue