···45stdenv.mkDerivation rec {
6 pname = "argyllcms";
7- version = "2.2.0";
89 src = fetchzip {
10 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
11 # while on me. It might be good to find a mirror
12 url = "https://www.argyllcms.com/Argyll_V${version}_src.zip";
13- sha256 = "sha256-EcVwYJfJbWWXl58O3ulsrWgUYTgR4uWdMgb0Z140Pu4=";
14 };
1516- patches = [ ./gcc5.patch ];
17-18 # The contents of this file comes from the Jamtop file from the
19 # root of the ArgyllCMS distribution, rewritten to pick up Nixpkgs
20 # library paths. When ArgyllCMS is updated, make sure that changes
21 # in that file is reflected here.
22 jamTop = writeText "argyllcms_jamtop" ''
23 DESTDIR = "/" ;
24- REFSUBDIR = "ref" ;
2526 # Keep this DESTDIR anchored to Jamtop. PREFIX is used literally
27 ANCHORED_PATH_VARS = DESTDIR ;
···41 # enable dummy Demo Instrument (only if code is available)
42 USE_DEMOINST = true ;
43000000000044 # Use ArgyllCMS version of libusb (deprecated - don't use)
45 USE_LIBUSB = false ;
4647- # For testing CCast
48- DEFINES += CCTEST_PATTERN ;
4950 JPEGLIB = ;
51 JPEGINC = ;
···9798 # Install udev rules, but remove lines that set up the udev-acl
99 # stuff, since that is handled by udev's own rules (70-udev-acl.rules)
100- #
101- # Move ref to a better place (there must be a way to make the install target
102- # do that for us)
103 postInstall = ''
104 rm -v $out/bin/License.txt
105 mkdir -p $out/etc/udev/rules.d
106 sed -i '/udev-acl/d' usb/55-Argyll.rules
107 cp -v usb/55-Argyll.rules $out/etc/udev/rules.d/
108- mkdir -p $out/share/
109- mv $out/ref $out/share/argyllcms
110 '';
111112 meta = with lib; {
···45stdenv.mkDerivation rec {
6 pname = "argyllcms";
7+ version = "2.2.1";
89 src = fetchzip {
10 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
11 # while on me. It might be good to find a mirror
12 url = "https://www.argyllcms.com/Argyll_V${version}_src.zip";
13+ sha256 = "sha256-umY3wQfG26Okqnw+MCUnlwWTAyJ6MR/FHe5oe61KBh0=";
14 };
150016 # The contents of this file comes from the Jamtop file from the
17 # root of the ArgyllCMS distribution, rewritten to pick up Nixpkgs
18 # library paths. When ArgyllCMS is updated, make sure that changes
19 # in that file is reflected here.
20 jamTop = writeText "argyllcms_jamtop" ''
21 DESTDIR = "/" ;
22+ REFSUBDIR = "share/argyllcms" ;
2324 # Keep this DESTDIR anchored to Jamtop. PREFIX is used literally
25 ANCHORED_PATH_VARS = DESTDIR ;
···39 # enable dummy Demo Instrument (only if code is available)
40 USE_DEMOINST = true ;
4142+ # enable Video Test Patch Generator and 3DLUT device support
43+ # (V2.0.0 and above)
44+ USE_VTPGLUT = false ;
45+46+ # enable Printer device support
47+ USE_PRINTER = false ;
48+49+ # enable CMF Measurement device and accessory support (if present)
50+ USE_CMFM = false ;
51+52 # Use ArgyllCMS version of libusb (deprecated - don't use)
53 USE_LIBUSB = false ;
5455+ # Compile in graph plotting code (Not fully implemented)
56+ USE_PLOT = true ; # [true]
5758 JPEGLIB = ;
59 JPEGINC = ;
···105106 # Install udev rules, but remove lines that set up the udev-acl
107 # stuff, since that is handled by udev's own rules (70-udev-acl.rules)
000108 postInstall = ''
109 rm -v $out/bin/License.txt
110 mkdir -p $out/etc/udev/rules.d
111 sed -i '/udev-acl/d' usb/55-Argyll.rules
112 cp -v usb/55-Argyll.rules $out/etc/udev/rules.d/
00113 '';
114115 meta = with lib; {