nixpkgs/pkgs/data/misc/ddccontrol-db/default.nix
2022-01-31 09:21:07 -08:00

40 lines
714 B
Nix

{ lib, stdenv
, autoconf
, automake
, libtool
, intltool
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "ddccontrol-db";
version = "20220119";
src = fetchFromGitHub {
owner = "ddccontrol";
repo = "ddccontrol-db";
rev = version;
sha256 = "sha256-8JJ6RG7yA1ssoYsvgDYp3/r+h1+rKnOwwoDhRx2brY8=";
};
preConfigure = ''
./autogen.sh
'';
buildInputs =
[
autoconf
automake
libtool
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 ];
};
}