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
32
pkgs/development/python-modules/pystray/default.nix
Normal file
32
pkgs/development/python-modules/pystray/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, pillow, xlib, six, xvfb-run, sphinx }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystray";
|
||||
version = "0.19.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moses-palmer";
|
||||
repo = "pystray";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8B178MSe4ujlnGBmQhIu+BoAh1doP9V5cL0ermLQTvs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ sphinx ];
|
||||
propagatedBuildInputs = [ pillow xlib six ];
|
||||
checkInputs = [ xvfb-run ];
|
||||
|
||||
checkPhase = ''
|
||||
rm tests/icon_tests.py # test needs user input
|
||||
|
||||
xvfb-run -s '-screen 0 800x600x24' python setup.py test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/moses-palmer/pystray";
|
||||
description = "This library allows you to create a system tray icon";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ jojosch ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue