mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
33 lines
709 B
Nix
33 lines
709 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
hareHook,
|
|
fetchFromSourcehut,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hare-compress";
|
|
version = "0.25.2.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = "hare-compress";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-s5K6xnzQeQ/lncpfZpxHx1FBdrjgnuhOih/YGJXCjkc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hareHook ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://git.sr.ht/~sircmpwn/hare-compress/";
|
|
description = "Compression algorithms for Hare";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ starzation ];
|
|
inherit (hareHook.meta) platforms badPlatforms;
|
|
};
|
|
})
|