depot/third_party/nixpkgs/pkgs/by-name/dd/ddccontrol-db/package.nix

32 lines
626 B
Nix

{
lib,
stdenv,
autoreconfHook,
intltool,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "ddccontrol-db";
version = "20240920";
src = fetchFromGitHub {
owner = "ddccontrol";
repo = pname;
rev = version;
sha256 = "sha256-u+buByJ7w1VHs4fGWNRy2EDFYheztbzpFga3tS6PnKk=";
};
nativeBuildInputs = [
autoreconfHook
intltool
];
meta = with lib; {
description = "Monitor database for DDCcontrol";
homepage = "https://github.com/ddccontrol/ddccontrol-db";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ lib.maintainers.pakhfn ];
};
}