Merge pull request #51244 from uri-canva/perceptualdiff

perceptualdiff: init at 2.1
This commit is contained in:
Renaud 2018-11-30 09:29:50 +01:00 committed by GitHub
commit 4088758a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, freeimage }:
stdenv.mkDerivation rec {
pname = "perceptualdiff";
name = "${pname}-${version}";
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;
};
}

View file

@ -4710,6 +4710,8 @@ with pkgs;
pepper = callPackage ../tools/admin/salt/pepper { };
perceptualdiff = callPackage ../tools/graphics/perceptualdiff { };
percona-xtrabackup = callPackage ../tools/backup/percona-xtrabackup {
boost = boost159;
};