Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 50 lines 1.0 kB view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 libgit2, 7 oniguruma, 8 zlib, 9 nix-update-script, 10}: 11 12let 13 pname = "git-igitt"; 14 version = "0.1.18"; 15in 16rustPlatform.buildRustPackage { 17 inherit pname version; 18 19 src = fetchFromGitHub { 20 owner = "mlange-42"; 21 repo = "git-igitt"; 22 rev = version; 23 hash = "sha256-JXEWnekL9Mtw0S3rI5aeO1HB9kJ7bRJDJ6EJ4ATlFeQ="; 24 }; 25 26 cargoHash = "sha256-ndxxkYMFHAX6uourCyUpvJYcZCXQ5X2CMX4jTJmNRiQ="; 27 28 nativeBuildInputs = [ pkg-config ]; 29 30 buildInputs = [ 31 libgit2 32 oniguruma 33 zlib 34 ]; 35 36 env = { 37 RUSTONIG_SYSTEM_LIBONIG = true; 38 }; 39 40 passthru.updateScript = nix-update-script { }; 41 42 meta = { 43 description = "Interactive, cross-platform Git terminal application with clear git graphs arranged for your branching model"; 44 homepage = "https://github.com/mlange-42/git-igitt"; 45 license = lib.licenses.mit; 46 sourceProvenance = [ lib.sourceTypes.fromSource ]; 47 maintainers = [ lib.maintainers.pinage404 ]; 48 mainProgram = "git-igitt"; 49 }; 50}