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