about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gitoxide
diff options
context:
space:
mode:
authorsyberant <sybrand@neuralcoding.com>2020-08-16 08:26:59 +0200
committerAlyssa Ross <hi@alyssa.is>2020-08-16 19:49:18 +0000
commit8fb288515fed46e510cb9b07f3c684223f6fbc10 (patch)
tree0083a4e4acb4df3b1cef8072b63570181b3b08a2 /pkgs/applications/version-management/gitoxide
parente523c0c232c674635f7e3ed59657f4709c231172 (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.nix24
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 ];
+  };
+}