39 lines
714 B
Nix
39 lines
714 B
Nix
{ lib, stdenv
|
|
, autoconf
|
|
, automake
|
|
, libtool
|
|
, intltool
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ddccontrol-db";
|
|
version = "20210505";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ddccontrol";
|
|
repo = "ddccontrol-db";
|
|
rev = version;
|
|
sha256 = "sha256-k0Bcf1I/g2sFnX3y4qyWG7Z3W7K6YeZ9trUFSJ4NhSo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|