16 buildPythonPackage rec {
22 inherit pname version;
23 hash = "sha256-d0UVC9uBZ5+s3RHB87hwlsT029SVfo/Ou4jEVoeVLvs=";
27 substituteInPlace setup.py \
28 --replace-fail 'afdko_output_dir = os.path.join(afdko_root_dir, "build", "bin")' \
29 'afdko_output_dir = "${lib.getBin afdko}/bin"' \
30 --replace-fail 'build_cmd=build_release_cmd' 'build_cmd="true"'
42 dontUseCmakeConfigure = true;
44 dependencies = [ fonttools ];
46 nativeCheckInputs = [ pytestCheckHook ];
48 pythonImportsCheck = [ "cffsubr" ];
51 changelog = "https://github.com/adobe-type-tools/cffsubr/releases/tag/v${version}";
52 description = "Standalone CFF subroutinizer based on AFDKO tx";
53 mainProgram = "cffsubr";
54 homepage = "https://github.com/adobe-type-tools/cffsubr";
55 license = licenses.asl20;