mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
e1d9854816
A few packages broke due to the SCons upgrade (they depended on deprecated options that got removed), I've kept them on version 3.0.1 for now. The rest of the rebuilds seems fine (the failing ones where already in a broken state before this change).
37 lines
1,000 B
Nix
37 lines
1,000 B
Nix
{ stdenv, fetchurl, sconsPackages, qt3, lcms1, libtiff, vigra }:
|
|
|
|
/* how to calibrate your monitor:
|
|
Eg see https://wiki.archlinux.org/index.php/ICC_Profiles#Loading_ICC_Profiles
|
|
*/
|
|
stdenv.mkDerivation {
|
|
name = "lprof-1.11.4.1";
|
|
nativeBuildInputs = [ sconsPackages.scons_3_0_1 ];
|
|
buildInputs = [ qt3 lcms1 libtiff vigra ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
preConfigure = ''
|
|
export QTDIR=${qt3}
|
|
export qt_directory=${qt3}
|
|
'';
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/lprof/lprof/lprof-1.11.4/lprof-1.11.4.1.tar.gz;
|
|
sha256 = "0q8x24fm5yyvm151xrl3l03p7hvvciqnkbviprfnvlr0lyg9wsrn";
|
|
};
|
|
|
|
sconsFlags = "SYSLIBS=1";
|
|
preBuild = ''
|
|
export CXX=g++
|
|
'';
|
|
prefixKey = "PREFIX=";
|
|
|
|
patches = [ ./lcms-1.17.patch ./keep-environment.patch ];
|
|
|
|
meta = {
|
|
description = "Little CMS ICC profile construction set";
|
|
homepage = https://sourceforge.net/projects/lprof;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|