Merge pull request #218928 from stehessel/git-stack-init
git-stack: init at 0.10.12
This commit is contained in:
commit
96f8419188
2 changed files with 45 additions and 0 deletions
41
pkgs/applications/version-management/git-stack/default.nix
Normal file
41
pkgs/applications/version-management/git-stack/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue