Skip to content

Commit

Permalink
Merge pull request #272000 from starzation/hare-compress
Browse files Browse the repository at this point in the history
hareThirdParty.hare-compress: init at unstable-2023-10-30
  • Loading branch information
pbsds authored Dec 15, 2023
2 parents f5c41d4 + 0530fcc commit a547ccb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/hare-third-party/hare-compress/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
})
2 changes: 2 additions & 0 deletions pkgs/top-level/hare-third-party.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ let
in
{
hare-json = callPackage ../development/hare-packages/hare-json { };

hare-compress = callPackage ../development/hare-third-party/hare-compress {};
})

0 comments on commit a547ccb

Please sign in to comment.