summary refs log tree commit diff
path: root/pkgs/tools/misc/shell-hist/default.nix
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-05-12 16:02:47 +0200
committerLassulus <github@lassul.us>2019-05-13 19:57:42 +0900
commit14850326865cda14d314c85942851c30774916f9 (patch)
treee6832ebc1f96857dd6ad14bf3760b1daf6ac4060 /pkgs/tools/misc/shell-hist/default.nix
parentca3fe591738f69605a079a60298687066c811843 (diff)
downloadnixpkgs-14850326865cda14d314c85942851c30774916f9.tar
nixpkgs-14850326865cda14d314c85942851c30774916f9.tar.gz
nixpkgs-14850326865cda14d314c85942851c30774916f9.tar.bz2
nixpkgs-14850326865cda14d314c85942851c30774916f9.tar.lz
nixpkgs-14850326865cda14d314c85942851c30774916f9.tar.xz
nixpkgs-14850326865cda14d314c85942851c30774916f9.tar.zst
nixpkgs-14850326865cda14d314c85942851c30774916f9.zip
shell-hist: init at 0.1.0
Diffstat (limited to 'pkgs/tools/misc/shell-hist/default.nix')
-rw-r--r--pkgs/tools/misc/shell-hist/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/misc/shell-hist/default.nix b/pkgs/tools/misc/shell-hist/default.nix
new file mode 100644
index 00000000000..b44cbf100e8
--- /dev/null
+++ b/pkgs/tools/misc/shell-hist/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage {
+  pname = "shell-hist";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "jamesmunns";
+    repo = "shell-hist";
+    rev = "158de8c3908b49530ecd76bf6e65c210f351ef82";
+    sha256 = "0kc128xnnp1d56if70vfv0w3qnwhljhbnvzwwb7hfm3x2m0vqrqf";
+  };
+
+  cargoSha256 = "1nqnkzwqk879qy1261g1gds668xz6islhzq7chzhilaqpmvf6039";
+
+  meta = with lib; {
+    description = "Inspect your shell history";
+    homepage = "https://github.com/jamesmunns/shell-hist";
+    license = with licenses; [ mit /* or */ asl20 ];
+    maintainers = [ maintainers.spacekookie ];
+    platforms = platforms.all;
+  };
+}