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
44
pkgs/development/python-modules/ufoprocessor/default.nix
Normal file
44
pkgs/development/python-modules/ufoprocessor/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, defcon, fonttools, lxml, fs
|
||||
, mutatormath, fontmath, fontparts
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufoProcessor";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ns11aamgavgsfj8qf5kq7dvzmgl0mhr1cbych2f075ipfdvva5s";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
defcon
|
||||
lxml
|
||||
fonttools
|
||||
fs
|
||||
fontmath
|
||||
fontparts
|
||||
mutatormath
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
for t in Tests/*.py; do
|
||||
# https://github.com/LettError/ufoProcessor/issues/32
|
||||
[[ "$(basename "$t")" = "tests_fp.py" ]] || python "$t"
|
||||
done
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read, write and generate UFOs with designspace data";
|
||||
homepage = "https://github.com/LettError/ufoProcessor";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue