Merge pull request #284862 from struan-robertson/master
This commit is contained in:
commit
074e866965
2 changed files with 35 additions and 0 deletions
|
@ -18123,6 +18123,12 @@
|
|||
githubId = 38893265;
|
||||
name = "StrikerLulu";
|
||||
};
|
||||
struan = {
|
||||
email = "contact@struanrobertson.co.uk";
|
||||
github = "struan-robertson";
|
||||
githubId = 7543617;
|
||||
name = "Struan Robertson";
|
||||
};
|
||||
stteague = {
|
||||
email = "stteague505@yahoo.com";
|
||||
github = "stteague";
|
||||
|
|
29
pkgs/by-name/li/libopenraw/package.nix
Normal file
29
pkgs/by-name/li/libopenraw/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, boost, gdk-pixbuf, glib, libjpeg, libxml2, lib, pkg-config
|
||||
, cargo, rustc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libopenraw";
|
||||
version = "0.3.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://libopenraw.freedesktop.org/download/libopenraw-${version}.tar.bz2";
|
||||
hash = "sha256-VRWyYQNh7zRYC2uXZjURn23ttPCnnVRmL6X+YYakXtU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cargo rustc ];
|
||||
|
||||
buildInputs = [ boost gdk-pixbuf glib libjpeg libxml2 ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i configure{,.ac} \
|
||||
-e "s,GDK_PIXBUF_DIR=.*,GDK_PIXBUF_DIR=$out/lib/gdk-pixbuf-2.0/2.10.0/loaders,"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "RAW camerafile decoding library";
|
||||
homepage = "https://libopenraw.freedesktop.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
maintainers = [ maintainers.struan ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue