Merge pull request #218928 from stehessel/git-stack-init

git-stack: init at 0.10.12
This commit is contained in:
Anderson Torres 2023-03-03 17:17:58 -03:00 committed by GitHub
commit 96f8419188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -1923,6 +1923,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 { };