mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
38 lines
813 B
Nix
38 lines
813 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchgit
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "edid-decode";
|
|
version = "0-unstable-2024-04-02";
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
src = fetchgit {
|
|
url = "git://linuxtv.org/edid-decode.git";
|
|
rev = "3d635499e4aca3319f0796ba787213c981c5a770";
|
|
hash = "sha256-bqzO39YM/3h9p37xaGJAw9xERgWOD+4yqO/XQiq/QqM=";
|
|
};
|
|
|
|
preBuild = ''
|
|
export DESTDIR=$out
|
|
export bindir=/bin
|
|
export mandir=/share/man
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "EDID decoder and conformance tester";
|
|
homepage = "https://git.linuxtv.org/edid-decode.git";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ Madouura ];
|
|
platforms = platforms.all;
|
|
mainProgram = "edid-decode";
|
|
};
|
|
}
|