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
33
pkgs/development/python-modules/xpybutil/default.nix
Normal file
33
pkgs/development/python-modules/xpybutil/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, xcffib, pillow }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xpybutil";
|
||||
version = "0.0.6";
|
||||
|
||||
# Pypi only offers a wheel
|
||||
src = fetchFromGitHub {
|
||||
owner = "BurntSushi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "17gbqq955fcl29aayn8l0x14azc60cxgkvdxblz9q8x3l50w0xpg";
|
||||
};
|
||||
|
||||
# pillow is a dependency in image.py which is not listed in setup.py
|
||||
propagatedBuildInputs = [ pillow xcffib ];
|
||||
|
||||
propagatedNativeBuildInputs = [ xcffib ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xpybutil"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/BurntSushi/xpybutil";
|
||||
description = "An incomplete xcb-util port plus some extras";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue