mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Add libicns
svn path=/nixpkgs/trunk/; revision=33481
This commit is contained in:
parent
5fd376da83
commit
ef084be97b
12
pkgs/development/libraries/libicns/default.nix
Normal file
12
pkgs/development/libraries/libicns/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ stdenv, fetchurl, libpng, openjpeg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libicns-0.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/icns/libicns-0.8.0.tar.gz;
|
||||
sha256 = "0jh67nm07jr1nfkfjid3jjw7fyw5hvj6a2fqan1bhg6gyr2hswla";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng openjpeg ];
|
||||
}
|
@ -1,21 +1,13 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "openjpeg-1.2";
|
||||
name = "openjpeg-1.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.openjpeg.org/openjpeg_v1_2.tar.gz;
|
||||
sha256 = "1i72i0hhssgg6vfkaw3gpwf5ld65g9s77ay8pxd4any1xy54qa90";
|
||||
url = http://openjpeg.googlecode.com/files/openjpeg-1.5.0.tar.gz;
|
||||
sha256 = "1kja6s9dk0hh7p9064kg69y6vninwyvpqi8cap92waj38jmqz469";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's/-o root -g [^ ]\+//' Makefile Makefile.osx
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
export installFlags="PREFIX=$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.openjpeg.org/;
|
||||
description = "Open-source JPEG 2000 codec written in C language";
|
||||
|
@ -4035,6 +4035,8 @@ let
|
||||
|
||||
libical = callPackage ../development/libraries/libical { };
|
||||
|
||||
libicns = callPackage ../development/libraries/libicns { };
|
||||
|
||||
libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
|
||||
|
||||
libiodbc = callPackage ../development/libraries/libiodbc {
|
||||
|
Loading…
Reference in New Issue
Block a user