mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
27 lines
677 B
Nix
27 lines
677 B
Nix
{ stdenv, fetchgit }:
|
|
let
|
|
version = "2018-12-06";
|
|
in stdenv.mkDerivation rec {
|
|
name = "edid-decode-unstable-${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;
|
|
};
|
|
}
|
|
|