Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
890 B
Nix
50 lines
890 B
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchFromGitHub,
|
|
python,
|
|
pyyaml,
|
|
fonttools,
|
|
fontforge,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonApplication {
|
|
pname = "scfbuild";
|
|
version = "2.0.0";
|
|
|
|
format = "other";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "13rac1";
|
|
repo = "scfbuild";
|
|
rev = "6d84339512a892972185d894704efa67dd82e87a";
|
|
sha256 = "0wkyzkhshlax9rvdmn441gv87n9abfr0qqmgs8bkg9kbcjb4bhad";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
fonttools
|
|
fontforge
|
|
setuptools
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/${python.sitePackages}
|
|
cp -r scfbuild $out/${python.sitePackages}
|
|
cp -r bin $out
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "SVGinOT color font builder";
|
|
homepage = "https://github.com/13rac1/scfbuild";
|
|
license = licenses.gpl3;
|
|
maintainers = [ ];
|
|
mainProgram = "scfbuild";
|
|
};
|
|
}
|