nixpkgs/pkgs/tools/misc/edid-decode/default.nix

27 lines
677 B
Nix
Raw Normal View History

2018-02-04 23:49:16 +01:00
{ stdenv, fetchgit }:
let
2018-12-31 16:21:23 +01:00
version = "2018-12-06";
in stdenv.mkDerivation rec {
name = "edid-decode-unstable-${version}";
2018-02-04 23:49:16 +01:00
src = fetchgit {
2018-12-31 16:21:23 +01:00
url = "git://linuxtv.org/edid-decode.git";
rev = "6def7bc83dfb0338632e06a8b14c93faa6af8879";
sha256 = "0v6d6jy309pb02l377l0fpmgfsvcpiqc5bvyrli34v413mhq6p15";
2018-02-04 23:49:16 +01:00
};
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/;
2018-02-04 23:49:16 +01:00
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.chiiruno ];
platforms = stdenv.lib.platforms.all;
};
}