nixpkgs/pkgs/tools/graphics/perceptualdiff/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

26 lines
689 B
Nix

{ lib, 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 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";
};
}