nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at python-updates 48 lines 984 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 crystal, 5 gobject-introspection, 6 gitUpdater, 7}: 8crystal.buildCrystalPackage rec { 9 pname = "gi-crystal"; 10 version = "0.25.1"; 11 12 src = fetchFromGitHub { 13 owner = "hugopl"; 14 repo = "gi-crystal"; 15 rev = "v${version}"; 16 hash = "sha256-+sc36YjaVKBkrg8Ond4hCZoObnSHIU/jyMRalZ+OAwk="; 17 }; 18 19 patches = [ 20 ./src.patch 21 ]; 22 23 nativeBuildInputs = [ gobject-introspection ]; 24 buildTargets = [ "generator" ]; 25 26 doCheck = false; 27 doInstallCheck = false; 28 29 installPhase = '' 30 runHook preInstall 31 32 mkdir $out 33 cp -r * $out 34 35 runHook postInstall 36 ''; 37 38 passthru = { 39 updateScript = gitUpdater { rev-prefix = "v"; }; 40 }; 41 42 meta = { 43 description = "GI Crystal is a binding generator used to generate Crystal bindings for GObject based libraries using GObject Introspection"; 44 homepage = "https://github.com/hugopl/gi-crystal"; 45 mainProgram = "gi-crystal"; 46 maintainers = with lib.maintainers; [ sund3RRR ]; 47 }; 48}