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
48
pkgs/development/python-modules/svglib/default.nix
Normal file
48
pkgs/development/python-modules/svglib/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, cssselect2
|
||||
, lxml
|
||||
, pillow
|
||||
, pytest
|
||||
, reportlab
|
||||
, tinycss2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svglib";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-o4mYuV0buZVk3J3/rxXk6UU3YfJ5DS3UFHpK1fusEHg=";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cssselect2
|
||||
lxml
|
||||
pillow
|
||||
reportlab
|
||||
tinycss2
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
# Ignore tests that require network access (TestWikipediaFlags and TestW3CSVG), and tests that
|
||||
# require files missing in the 1.0.0 PyPI release (TestOtherFiles).
|
||||
checkPhase = ''
|
||||
py.test svglib tests -k 'not TestWikipediaFlags and not TestW3CSVG and not TestOtherFiles'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/deeplook/svglib";
|
||||
description = "A pure-Python library for reading and converting SVG";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ trepetti ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue