nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 hareHook,
5 harec,
6 fetchFromSourcehut,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "hare-compress";
11 version = "0-unstable-2023-11-01";
12
13 src = fetchFromSourcehut {
14 owner = "~sircmpwn";
15 repo = "hare-compress";
16 rev = "562706946871d1c994f60361883269916cbaa08e";
17 hash = "sha256-sz8xPBZaUFye3HH4lkRnH52ye451e6seZXN/qvg87jE=";
18 };
19
20 nativeBuildInputs = [ hareHook ];
21
22 makeFlags = [ "PREFIX=${placeholder "out"}" ];
23
24 doCheck = true;
25
26 meta = {
27 homepage = "https://git.sr.ht/~sircmpwn/hare-compress/";
28 description = "Compression algorithms for Hare";
29 license = with lib.licenses; [ mpl20 ];
30 maintainers = with lib.maintainers; [ starzation ];
31 inherit (harec.meta) platforms badPlatforms;
32 };
33})