diff options
author | Jalil David Salamé Messina <jalil.salame@gmail.com> | 2023-05-13 20:35:00 +0200 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-14 22:04:15 -0300 |
commit | 8df7cadadc5716a95f39ad5199eec476b80a81a2 (patch) | |
tree | b858bb01ed96cf61ab03cfe2fc6c0ea8dca96f74 /pkgs/applications/version-management/git-mit | |
parent | 641a768829591f8a28023c6004fc3e7b4d1901ce (diff) |
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>
Diffstat (limited to 'pkgs/applications/version-management/git-mit')
-rw-r--r-- | pkgs/applications/version-management/git-mit/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-mit/default.nix b/pkgs/applications/version-management/git-mit/default.nix new file mode 100644 index 0000000000000..513045436ed9f --- /dev/null +++ b/pkgs/applications/version-management/git-mit/default.nix @@ -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; + }; +} |