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
29
pkgs/development/libraries/libraw/default.nix
Normal file
29
pkgs/development/libraries/libraw/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libraw";
|
||||
version = "0.20.2.p2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
|
||||
sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "dev" "doc" ];
|
||||
|
||||
propagatedBuildInputs = [ lcms2 ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
||||
homepage = "https://www.libraw.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
12
pkgs/development/libraries/libraw/unstable.nix
Normal file
12
pkgs/development/libraries/libraw/unstable.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ libraw, fetchFromGitHub }:
|
||||
|
||||
libraw.overrideAttrs (_: rec {
|
||||
version = "unstable-2021-12-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
|
||||
sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue