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
46
pkgs/development/python-modules/fontparts/default.nix
Normal file
46
pkgs/development/python-modules/fontparts/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, python, pythonOlder
|
||||
, fonttools, lxml, fs, unicodedata2
|
||||
, defcon, fontpens, fontmath, booleanoperations
|
||||
, pytest, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fontParts";
|
||||
version = "0.10.5";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-VriGYcpd2uVDMXeF3DXGKCMRQ9pTjDkrUOt2YSUgd5M=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
booleanoperations
|
||||
fonttools
|
||||
unicodedata2 # fonttools[unicode] extra
|
||||
lxml # fonttools[lxml] extra
|
||||
fs # fonttools[ufo] extra
|
||||
defcon
|
||||
fontpens # defcon[pens] extra
|
||||
fontmath
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} Lib/fontParts/fontshell/test.py
|
||||
runHook postCheck
|
||||
'';
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An API for interacting with the parts of fonts during the font development process.";
|
||||
homepage = "https://github.com/robotools/fontParts";
|
||||
changelog = "https://github.com/robotools/fontParts/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue