···4455stdenv.mkDerivation rec {
66 pname = "argyllcms";
77- version = "2.2.0";
77+ version = "2.2.1";
8899 src = fetchzip {
1010 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
1111 # while on me. It might be good to find a mirror
1212 url = "https://www.argyllcms.com/Argyll_V${version}_src.zip";
1313- sha256 = "sha256-EcVwYJfJbWWXl58O3ulsrWgUYTgR4uWdMgb0Z140Pu4=";
1313+ sha256 = "sha256-umY3wQfG26Okqnw+MCUnlwWTAyJ6MR/FHe5oe61KBh0=";
1414 };
15151616- patches = [ ./gcc5.patch ];
1717-1816 # The contents of this file comes from the Jamtop file from the
1917 # root of the ArgyllCMS distribution, rewritten to pick up Nixpkgs
2018 # library paths. When ArgyllCMS is updated, make sure that changes
2119 # in that file is reflected here.
2220 jamTop = writeText "argyllcms_jamtop" ''
2321 DESTDIR = "/" ;
2424- REFSUBDIR = "ref" ;
2222+ REFSUBDIR = "share/argyllcms" ;
25232624 # Keep this DESTDIR anchored to Jamtop. PREFIX is used literally
2725 ANCHORED_PATH_VARS = DESTDIR ;
···4139 # enable dummy Demo Instrument (only if code is available)
4240 USE_DEMOINST = true ;
43414242+ # enable Video Test Patch Generator and 3DLUT device support
4343+ # (V2.0.0 and above)
4444+ USE_VTPGLUT = false ;
4545+4646+ # enable Printer device support
4747+ USE_PRINTER = false ;
4848+4949+ # enable CMF Measurement device and accessory support (if present)
5050+ USE_CMFM = false ;
5151+4452 # Use ArgyllCMS version of libusb (deprecated - don't use)
4553 USE_LIBUSB = false ;
46544747- # For testing CCast
4848- DEFINES += CCTEST_PATTERN ;
5555+ # Compile in graph plotting code (Not fully implemented)
5656+ USE_PLOT = true ; # [true]
49575058 JPEGLIB = ;
5159 JPEGINC = ;
···9710598106 # Install udev rules, but remove lines that set up the udev-acl
99107 # stuff, since that is handled by udev's own rules (70-udev-acl.rules)
100100- #
101101- # Move ref to a better place (there must be a way to make the install target
102102- # do that for us)
103108 postInstall = ''
104109 rm -v $out/bin/License.txt
105110 mkdir -p $out/etc/udev/rules.d
106111 sed -i '/udev-acl/d' usb/55-Argyll.rules
107112 cp -v usb/55-Argyll.rules $out/etc/udev/rules.d/
108108- mkdir -p $out/share/
109109- mv $out/ref $out/share/argyllcms
110113 '';
111114112115 meta = with lib; {