Skip to content

Commit

Permalink
Merge pull request #272001 from starzation/hare-png
Browse files Browse the repository at this point in the history
hareThirdParty.hare-png: init at unstable-2023-09-09
  • Loading branch information
pbsds authored Jan 14, 2024
2 parents 5614bd5 + 9f8f613 commit 500129c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/hare-third-party/hare-png/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }:

stdenv.mkDerivation (finalAttrs: {
pname = "hare-png";
version = "unstable-2023-09-09";

src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-png";
rev = "9deb848ae691d784c5cc7949153cfa04c67f90b6";
hash = "sha256-Q7xylsLVd/sp57kv6WzC7QHGN1xOsm7YEsYCbY/zi1Q=";
};

nativeBuildInputs = [ hare ];
propagatedBuildInputs = [ hareThirdParty.hare-compress ];

makeFlags = [
"PREFIX=${builtins.placeholder "out"}"
"HARECACHE=.harecache"
];

doCheck = true;

meta = with lib; {
homepage = "https://git.sr.ht/~sircmpwn/hare-png/";
description = "PNG implementation for Hare";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ starzation ];

inherit (hare.meta) platforms badPlatforms;
};
})
1 change: 1 addition & 0 deletions pkgs/top-level/hare-third-party.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ in
hare-ev = callPackage ../development/hare-third-party/hare-ev { };
hare-json = callPackage ../development/hare-third-party/hare-json { };
hare-toml = callPackage ../development/hare-third-party/hare-toml { };
hare-png = callPackage ../development/hare-third-party/hare-png { };
})

0 comments on commit 500129c

Please sign in to comment.