Merge pull request #272000 from starzation/hare-compress

hareThirdParty.hare-compress: init at unstable-2023-10-30
This commit is contained in:
Peder Bergebakken Sundt 2023-12-15 01:02:59 +01:00 committed by GitHub
commit a547ccbd88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ 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;
};
})

View File

@ -6,4 +6,6 @@ let
in
{
hare-json = callPackage ../development/hare-packages/hare-json { };
hare-compress = callPackage ../development/hare-third-party/hare-compress {};
})