git-stack: init at 0.10.12

This commit is contained in:
Stephan Heßelmann 2023-03-01 04:24:39 +01:00
parent ea737a0ee0
commit 4389e5f723
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, testers
, git-stack
}:
rustPlatform.buildRustPackage rec {
pname = "git-stack";
version = "0.10.12";
src = fetchFromGitHub {
owner = "gitext-rs";
repo = "git-stack";
rev = "v${version}";
hash = "sha256-ghH3wmXLPzJZ4lNXFwEGKD89r7xaRMXUe9kGHm7MC4s=";
};
cargoHash = "sha256-5FXcReXgq5LFysPGBuYawFdkYAgRHsW+p2Ytin4+ZxI=";
buildInputs = lib.optionals stdenv.isDarwin [
Security
];
# Many tests try to access the file system.
doCheck = false;
passthru.tests.version = testers.testVersion {
package = git-stack;
};
meta = with lib; {
description = "Stacked branch management for Git";
homepage = "https://github.com/gitext-rs/git-stack";
changelog = "https://github.com/gitext-rs/git-stack/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ stehessel ];
};
}

View file

@ -1919,6 +1919,10 @@ with pkgs;
git-sizer = callPackage ../applications/version-management/git-sizer { };
git-stack = callPackage ../applications/version-management/git-stack {
inherit (darwin.apple_sdk.frameworks) Security;
};
git-standup = callPackage ../applications/version-management/git-standup { };
git-stree = callPackage ../applications/version-management/git-stree { };