depot/third_party/nixpkgs/pkgs/development/hare-third-party/hare-compress/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
786 B
Nix

{ lib, stdenv, hare, harec, fetchFromSourcehut }:
stdenv.mkDerivation (finalAttrs: {
pname = "hare-compress";
version = "unstable-2023-11-01";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-compress";
rev = "562706946871d1c994f60361883269916cbaa08e";
hash = "sha256-sz8xPBZaUFye3HH4lkRnH52ye451e6seZXN/qvg87jE=";
};
nativeBuildInputs = [ hare ];
makeFlags = [
"HARECACHE=.harecache"
"PREFIX=${builtins.placeholder "out"}"
];
doCheck = true;
meta = with lib; {
homepage = "https://git.sr.ht/~sircmpwn/hare-compress/";
description = "Compression algorithms for Hare";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ starzation ];
inherit (harec.meta) platforms badPlatforms;
};
})