Skip to content

Commit

Permalink
nitch: init at 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBelsanti authored and ehmry committed Sep 21, 2022
1 parent 7ab0da7 commit b0e0e80
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/misc/nitch/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib, nimPackages, fetchFromGitHub, fetchpatch }:
nimPackages.buildNimPackage rec {
pname = "nitch";
version = "0.1.6";
nimBinOnly = true;
src = fetchFromGitHub {
owner = "unxsh";
repo = "nitch";
rev = "42ad6899931dd5e0cec7b021c2b7e383fcc891f3";
hash = "sha256-QI7CbP0lvvjD+g29FR/YJjuZboZ+PoHynsNbpYC9SvE=";
};

patches = [
(fetchpatch {
url = "https://github.com/unxsh/nitch/commit/6831cf96144f58c4da298a0bc9b50d33056f6c08.patch";
sha256 = "sha256-uZUzUBLHBsssNqDxZ0NuTRMN9/gBxIlIiGgQkqCqEFc=";
})
];

meta = with lib; {
description = "Incredibly fast system fetch written in nim";
homepage = "https://github.com/unxsh/nitch";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ quasigod-io ];
mainProgram = "nitch";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4451,6 +4451,8 @@ with pkgs;

nfstrace = callPackage ../tools/networking/nfstrace { };

nitch = callPackage ../tools/misc/nitch { };

nix-direnv = callPackage ../tools/misc/nix-direnv { };

nixel = callPackage ../tools/nix/nixel { };
Expand Down

0 comments on commit b0e0e80

Please sign in to comment.