nixpkgs/pkgs/tools/misc/edid-decode/default.nix
2020-04-10 17:54:53 +01:00

28 lines
684 B
Nix

{ 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 = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.chiiruno ];
platforms = stdenv.lib.platforms.all;
};
}