forked from mirrors/nixpkgs
git-mit: init at 5.12.146
Add a new package [git-mit](https://github.com/PurpleBooth/git-mit) resolves #231710 Signed-off-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
This commit is contained in:
parent
641a768829
commit
8df7cadadc
39
pkgs/applications/version-management/git-mit/default.nix
Normal file
39
pkgs/applications/version-management/git-mit/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, openssl
|
||||||
|
, libgit2
|
||||||
|
, libssh2
|
||||||
|
, zlib
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "5.12.146";
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage {
|
||||||
|
pname = "git-mit";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "PurpleBooth";
|
||||||
|
repo = "git-mit";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-VN1TbK9wi5Nt2K3yKx2lYSP30zSpwNETQ4OyHj8zxBg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-YtUuRLjmehG+5kUiCo4LK0PkKAckr28UahlrAjm9MYw=";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ openssl libgit2 libssh2 zlib ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Minimalist set of hooks to aid pairing and link commits to issues";
|
||||||
|
homepage = "https://github.com/PurpleBooth/git-mit";
|
||||||
|
license = lib.licenses.cc0;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1963,6 +1963,8 @@ with pkgs;
|
||||||
|
|
||||||
git-lfs = lowPrio (callPackage ../applications/version-management/git-lfs { });
|
git-lfs = lowPrio (callPackage ../applications/version-management/git-lfs { });
|
||||||
|
|
||||||
|
git-mit = callPackage ../applications/version-management/git-mit { };
|
||||||
|
|
||||||
git-my = callPackage ../applications/version-management/git-my { };
|
git-my = callPackage ../applications/version-management/git-my { };
|
||||||
|
|
||||||
git-machete = python3Packages.callPackage ../applications/version-management/git-machete { };
|
git-machete = python3Packages.callPackage ../applications/version-management/git-machete { };
|
||||||
|
|
Loading…
Reference in a new issue