at 24.11-pre 42 lines 958 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, rustPlatform 5, Security 6, testers 7, git-stack 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "git-stack"; 12 version = "0.10.17"; 13 14 src = fetchFromGitHub { 15 owner = "gitext-rs"; 16 repo = "git-stack"; 17 rev = "v${version}"; 18 hash = "sha256-foItJSZ6jsLuWkO/c1Ejb45dSdzZ/ripieyVIYsEyy0="; 19 }; 20 21 cargoHash = "sha256-MEhUmy4ijR/zHm/qMt4PqNGYnCfIgjNaL9SlMmXCMmc="; 22 23 buildInputs = lib.optionals stdenv.isDarwin [ 24 Security 25 ]; 26 27 # Many tests try to access the file system. 28 doCheck = false; 29 30 passthru.tests.version = testers.testVersion { 31 package = git-stack; 32 }; 33 34 meta = with lib; { 35 description = "Stacked branch management for Git"; 36 homepage = "https://github.com/gitext-rs/git-stack"; 37 changelog = "https://github.com/gitext-rs/git-stack/releases/tag/v${version}"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ stehessel ]; 40 mainProgram = "git-stack"; 41 }; 42}