Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
711 B
Nix
32 lines
711 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
freeimage,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "perceptualdiff";
|
|
version = "2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "myint";
|
|
repo = "perceptualdiff";
|
|
rev = "v${version}";
|
|
sha256 = "176n518xv0pczf1yyz9r5a8zw5r6sh5ym596kmvw30qznp8n4a8j";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ freeimage ];
|
|
|
|
meta = with lib; {
|
|
description = "Program that compares two images using a perceptually based image metric";
|
|
homepage = "https://github.com/myint/perceptualdiff";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ uri-canva ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "perceptualdiff";
|
|
};
|
|
}
|