lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 31 lines 941 B view raw
1{ stdenv, lib, fetchurl, cmake, libx86 }: 2 3stdenv.mkDerivation rec { 4 pname = "read-edid"; 5 version = "3.0.2"; 6 7 src = fetchurl { 8 url = "http://www.polypux.org/projects/read-edid/${pname}-${version}.tar.gz"; 9 sha256 = "0vqqmwsgh2gchw7qmpqk6idgzcm5rqf2fab84y7gk42v1x2diin7"; 10 }; 11 12 patches = [ ./fno-common.patch ]; 13 14 postPatch = '' 15 substituteInPlace CMakeLists.txt --replace 'COPYING' 'LICENSE' 16 ''; 17 18 nativeBuildInputs = [ cmake ]; 19 buildInputs = lib.optional stdenv.hostPlatform.isx86 libx86; 20 21 cmakeFlags = [ "-DCLASSICBUILD=${if stdenv.hostPlatform.isx86 then "ON" else "OFF"}" ]; 22 23 24 meta = with lib; { 25 description = "Tool for reading and parsing EDID data from monitors"; 26 homepage = "http://www.polypux.org/projects/read-edid/"; 27 license = licenses.bsd2; # Quoted: "This is an unofficial license. Let's call it BSD-like." 28 maintainers = [ maintainers.dezgeg ]; 29 platforms = platforms.linux; 30 }; 31}