nixpkgs/pkgs/development/python-modules/cffsubr/default.nix
Jan Tojnar a2f49342d8 treewide: Reduce jtojnar maintainership
Notably fwupd, pipewire and flatpak.
I want to focus on GNOME and other packages I still actually use.
Pipewire is still important but I have not touched the packaging in a while.
2023-05-20 16:40:17 +02:00

43 lines
757 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, fonttools
, pytestCheckHook
, setuptools-scm
}:
buildPythonPackage rec {
pname = "cffsubr";
version = "0.2.9.post1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
fonttools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "cffsubr" ];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Standalone CFF subroutinizer based on AFDKO tx";
homepage = "https://github.com/adobe-type-tools/cffsubr";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}