summary refs log tree commit diff
path: root/pkgs/tools/misc/watchexec
diff options
context:
space:
mode:
authorMichal Rus <m@michalrus.com>2018-02-18 12:46:24 +0100
committerMichal Rus <m@michalrus.com>2018-02-18 15:54:00 +0100
commit64bfe643f67b98d75b6f188a003f167cdf259100 (patch)
treeb88ed480aacf77eafabc5d31b23c3cdee28d942d /pkgs/tools/misc/watchexec
parent327a84749ed48a20736fdf20b9dd4f5723b01912 (diff)
downloadnixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar.gz
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar.bz2
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar.lz
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar.xz
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.tar.zst
nixpkgs-64bfe643f67b98d75b6f188a003f167cdf259100.zip
watchexec: init at 1.8.6
Diffstat (limited to 'pkgs/tools/misc/watchexec')
-rw-r--r--pkgs/tools/misc/watchexec/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/watchexec/default.nix b/pkgs/tools/misc/watchexec/default.nix
new file mode 100644
index 00000000000..2b801bb74a4
--- /dev/null
+++ b/pkgs/tools/misc/watchexec/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, lib, rustPlatform, fetchFromGitHub }:
+
+with rustPlatform;
+
+buildRustPackage rec {
+  name = "watchexec-${version}";
+  version = "1.8.6";
+
+  src = fetchFromGitHub {
+    owner = "mattgreen";
+    repo = "watchexec";
+    rev = "${version}";
+    sha256 = "1jib51dbr6s1iq21inm2xfsjnz1730nyd3af1x977iqivmwdisax";
+  };
+
+  cargoSha256 = "0sm1jvx1y18h7y66ilphsqmkbdxc76xly8y7kxmqwdi4lw54i9vl";
+
+  meta = with stdenv.lib; {
+    description = "Executes commands in response to file modifications";
+    homepage = https://github.com/mattgreen/watchexec;
+    license = with licenses; [ asl20 ];
+    maintainers = [ maintainers.michalrus ];
+    platforms = [ "x86_64-linux" ];
+  };
+}