mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
git-stack: init at 0.10.12
This commit is contained in:
parent
ea737a0ee0
commit
4389e5f723
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue