mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
41 lines
853 B
Nix
41 lines
853 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchgit
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "edid-decode";
|
|
version = "0-unstable-2024-04-02";
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
src = fetchgit {
|
|
url = "https://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
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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";
|
|
};
|
|
}
|