nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 877 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "fontc"; 9 version = "0.3.0"; 10 11 src = fetchFromGitHub { 12 owner = "googlefonts"; 13 repo = "fontc"; 14 tag = "fontc-v${version}"; 15 hash = "sha256-Zr2nJRNY1vLGhVOGC3KSWbd4cQReO/F8Wgzx3y/qPFc="; 16 }; 17 buildAndTestSubdir = "fontc"; 18 19 postPatch = '' 20 ln -s ${./Cargo.lock} Cargo.lock 21 ''; 22 cargoLock = { 23 lockFile = ./Cargo.lock; 24 outputHashes = { 25 "tidy-sys-0.8.2" = "sha256-Okt+mqakdwm0OlD4UXBtQIbO+Wmlk6jTMWi9Q5Y1M2o="; 26 }; 27 }; 28 29 meta = { 30 description = "Wherein we pursue oxidizing fontmake"; 31 homepage = "https://github.com/googlefonts/fontc"; 32 changelog = "https://github.com/googlefonts/fontc/releases/tag/${src.tag}"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ shiphan ]; 35 mainProgram = "fontc"; 36 }; 37}