diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2022-06-12 18:34:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 18:34:37 +0200 |
commit | 96b4e1afe1bd2893bfb09d3cf84289f09d848794 (patch) | |
tree | a1979908fb431f8d98cfba3e2c6d2c1863e04bb5 | |
parent | 28c60a368a0ebef82e332fd91bb54156422c9776 (diff) | |
parent | dd63da9494c30dc7d13c16f6fe58673746592511 (diff) |
Merge pull request #177188 from hamburger1984/add-hwatch
hwatch: init at 0.3.6
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/hwatch/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 41 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 9fa9646cacbcb..7f0e784587907 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4969,6 +4969,12 @@ githubId = 1498782; name = "Jesse Haber-Kucharsky"; }; + hamburger1984 = { + email = "hamburger1984@gmail.com"; + github = "hamburger1984"; + githubId = 438976; + name = "Andreas Krohn"; + }; hamhut1066 = { email = "github@hamhut1066.com"; github = "moredhel"; diff --git a/pkgs/tools/misc/hwatch/default.nix b/pkgs/tools/misc/hwatch/default.nix new file mode 100644 index 0000000000000..259297eb494ff --- /dev/null +++ b/pkgs/tools/misc/hwatch/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "hwatch"; + version = "0.3.6"; + + src = fetchFromGitHub { + owner = "blacknon"; + repo = pname; + # prefix, because just "0.3.6' causes the download to silently fail: + # $ curl -v https://github.com/blacknon/hwatch/archive/0.3.6.tar.gz + # ... + # < HTTP/2 300 + # ... + # the given path has multiple possibilities: #<Git::Ref:0x00007fbb2e52bed0>, #<Git::Ref:0x00007fbb2e52ae40> + rev = "refs/tags/${version}"; + sha256 = "sha256-uaAgA6DWwYVT9mQh55onW+qxIC2i9GVuimctTJpUgfA="; + }; + + cargoSha256 = "sha256-Xt3Z6ax3Y45KZhTYMBr/Rfx1o+ZAoPYj51SN5hnrXQM="; + + meta = with lib; { + homepage = "https://github.com/blackmon/hwatch"; + description= "Modern alternative to the watch command"; + longDescription = '' + A modern alternative to the watch command, records the differences in + execution results and can check this differences at after. + ''; + license = licenses.mit; + maintainers = with maintainers; [ hamburger1984 ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ed9894e4516bd..39817ac756d38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -404,6 +404,8 @@ with pkgs; gpick = callPackage ../tools/misc/gpick { }; + hwatch = callPackage ../tools/misc/hwatch { }; + hobbes = callPackage ../development/tools/hobbes { stdenv = gcc10StdenvCompat; }; html5validator = python3Packages.callPackage ../applications/misc/html5validator { }; |