uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/tools/graphics/perceptualdiff/default.nix
Normal file
25
pkgs/tools/graphics/perceptualdiff/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ 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 = "A 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;
|
||||
broken = stdenv.hostPlatform.system == "aarch64-darwin";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue