28 lines
668 B
Nix
28 lines
668 B
Nix
{ lib, stdenv, fetchgit }:
|
|
let
|
|
version = "2018-12-06";
|
|
in stdenv.mkDerivation {
|
|
pname = "edid-decode-unstable";
|
|
inherit version;
|
|
|
|
src = fetchgit {
|
|
url = "git://linuxtv.org/edid-decode.git";
|
|
rev = "6def7bc83dfb0338632e06a8b14c93faa6af8879";
|
|
sha256 = "0v6d6jy309pb02l377l0fpmgfsvcpiqc5bvyrli34v413mhq6p15";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp edid-decode $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "EDID decoder and conformance tester";
|
|
homepage = "https://cgit.freedesktop.org/xorg/app/edid-decode/";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.chiiruno ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|
|
|