diff options
author | syberant <sybrand@neuralcoding.com> | 2020-08-16 08:26:59 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-08-16 19:49:18 +0000 |
commit | 8fb288515fed46e510cb9b07f3c684223f6fbc10 (patch) | |
tree | 0083a4e4acb4df3b1cef8072b63570181b3b08a2 /pkgs/applications/version-management/gitoxide | |
parent | e523c0c232c674635f7e3ed59657f4709c231172 (diff) |
gitoxide: init at 0.3.0
Fixes: https://github.com/NixOS/nixpkgs/issues/95317
Diffstat (limited to 'pkgs/applications/version-management/gitoxide')
-rw-r--r-- | pkgs/applications/version-management/gitoxide/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/gitoxide/default.nix b/pkgs/applications/version-management/gitoxide/default.nix new file mode 100644 index 0000000000000..0e9b3dbedb231 --- /dev/null +++ b/pkgs/applications/version-management/gitoxide/default.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "gitoxide"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "Byron"; + repo = "gitoxide"; + rev = "v${version}"; + sha256 = "0xpic9jx7nrxi5d8lqch2vxpvipx994d717c4n0kgr3ipyij1347"; + }; + + cargoSha256 = "104lyfni75h1i30s2jlzf66sp1czfd9ywqz78kj4i7lfdf6fc4x9"; + + meta = with lib; { + description = + "A command-line application for interacting with git repositories"; + homepage = "https://github.com/Byron/gitoxide"; + # NOTE: the master branch is dual-licensed with APACHE but v0.3.0 is only MIT + license = licenses.mit; + maintainers = [ maintainers.syberant ]; + }; +} |