2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
2018-02-18 12:46:24 +01:00
|
|
|
|
2018-08-21 12:00:11 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2018-02-18 12:46:24 +01:00
|
|
|
name = "watchexec-${version}";
|
2018-08-21 12:00:11 +02:00
|
|
|
version = "1.9.0";
|
2018-02-18 12:46:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-08-21 12:00:11 +02:00
|
|
|
owner = "watchexec";
|
2018-02-18 12:46:24 +01:00
|
|
|
repo = "watchexec";
|
2018-08-21 12:00:11 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0zp5s2dy5zbar0virvy1izjpvvgwbz7rvjmcy6bph6rb5c4bhm70";
|
2018-02-18 12:46:24 +01:00
|
|
|
};
|
|
|
|
|
2018-08-21 12:00:11 +02:00
|
|
|
cargoSha256 = "1li84kq9myaw0zwx69y72f3lx01s7i9p8yays4rwvl1ymr614y1l";
|
2018-02-18 12:46:24 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Executes commands in response to file modifications";
|
2018-08-21 12:00:11 +02:00
|
|
|
homepage = https://github.com/watchexec/watchexec;
|
2018-02-18 12:46:24 +01:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = [ maintainers.michalrus ];
|
2018-08-21 12:00:11 +02:00
|
|
|
platforms = platforms.linux;
|
2018-02-18 12:46:24 +01:00
|
|
|
};
|
|
|
|
}
|