mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
55 lines
965 B
Nix
55 lines
965 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build
|
|
cython,
|
|
setuptools-scm,
|
|
setuptools,
|
|
|
|
# propagates
|
|
defcon,
|
|
fonttools,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
let
|
|
pname = "cu2qu";
|
|
version = "1.6.7.post2";
|
|
in
|
|
buildPythonPackage rec {
|
|
inherit pname version;
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-HfVi2ZvWBZImCI9ENwK/Uc/djMY2I/IxN0WaeNe/WAg=";
|
|
extension = "zip";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
defcon
|
|
fonttools
|
|
] ++ fonttools.optional-dependencies.ufo;
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/googlefonts/cu2qu/releases/tag/v${version}";
|
|
description = "Cubic-to-quadratic bezier curve conversion";
|
|
mainProgram = "cu2qu";
|
|
homepage = "https://github.com/googlefonts/cu2qu";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|