dissent: 0.0.30 -> 0.0.31 (#359728)
[NixPkgs.git] / pkgs / development / hare-third-party / hare-png / default.nix
blobfba410eb8ffdfbcbedff41d1c51bad1789c1960f
2   lib,
3   stdenv,
4   hareHook,
5   hareThirdParty,
6   fetchFromSourcehut,
7 }:
9 stdenv.mkDerivation (finalAttrs: {
10   pname = "hare-png";
11   version = "0-unstable-2023-09-09";
13   src = fetchFromSourcehut {
14     owner = "~sircmpwn";
15     repo = "hare-png";
16     rev = "9deb848ae691d784c5cc7949153cfa04c67f90b6";
17     hash = "sha256-Q7xylsLVd/sp57kv6WzC7QHGN1xOsm7YEsYCbY/zi1Q=";
18   };
20   nativeBuildInputs = [ hareHook ];
21   propagatedBuildInputs = [ hareThirdParty.hare-compress ];
23   makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
25   doCheck = true;
27   meta = with lib; {
28     homepage = "https://git.sr.ht/~sircmpwn/hare-png/";
29     description = "PNG implementation for Hare";
30     license = with licenses; [ mpl20 ];
31     maintainers = with maintainers; [ starzation ];
32     inherit (hareHook.meta) platforms badPlatforms;
33   };