summary refs log tree commit diff
path: root/pkgs/development/tools/the-way/default.nix
diff options
context:
space:
mode:
authorSebastien Bariteau <bariteau@tehama.io>2020-06-19 07:00:04 -0400
committerGitHub <noreply@github.com>2020-06-19 13:00:04 +0200
commit5a345d60d37dd81fceb6153e615da78548f6bcac (patch)
tree044c75354d864fe3d5570a8e8f367b12f7b13bd9 /pkgs/development/tools/the-way/default.nix
parent6d2c0b8255b86d286324487f365cb90e8656a8d8 (diff)
downloadnixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar.gz
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar.bz2
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar.lz
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar.xz
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.tar.zst
nixpkgs-5a345d60d37dd81fceb6153e615da78548f6bcac.zip
the-way: init at 0.3.2
* the-way: init at 0.3.2
Diffstat (limited to 'pkgs/development/tools/the-way/default.nix')
-rw-r--r--pkgs/development/tools/the-way/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/the-way/default.nix b/pkgs/development/tools/the-way/default.nix
new file mode 100644
index 00000000000..99b0e4cd189
--- /dev/null
+++ b/pkgs/development/tools/the-way/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "the-way";
+  version = "0.3.2";
+
+  src = fetchFromGitHub {
+    owner = "out-of-cheese-error";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "02aa4iwwi89r6sj1q5sj74n2cy1rj94yfh39cp97zlx4lam9pj6b";
+  };
+
+  cargoSha256 = "09d9gaa83djfkfdx3m4d3kkq550q8y67wb292mrj4xb0kcfrhnpq";
+  checkFlags = "--test-threads=1";
+
+  meta = with stdenv.lib; {
+    description = "Terminal code snippets manager";
+    homepage = "https://github.com/out-of-cheese-error/the-way";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ numkem ];
+    platforms = platforms.all;
+  };
+}