mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
652 B
Nix
25 lines
652 B
Nix
{ stdenv, fetchFromGitHub, cmake, freeimage }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "perceptualdiff";
|
|
version = "2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "myint";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "176n518xv0pczf1yyz9r5a8zw5r6sh5ym596kmvw30qznp8n4a8j";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ freeimage ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A program that compares two images using a perceptually based image metric";
|
|
homepage = "https://github.com/myint/perceptualdiff";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ uri-canva ];
|
|
platforms = platforms.x86;
|
|
};
|
|
}
|