38 lines
729 B
Nix
38 lines
729 B
Nix
{ lib, stdenv
|
|
, autoconf
|
|
, automake
|
|
, libtool
|
|
, intltool
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ddccontrol-db";
|
|
version = "20220720";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ddccontrol";
|
|
repo = "ddccontrol-db";
|
|
rev = version;
|
|
sha256 = "sha256-A681Q0VSBUzxpTq+Dl4/ug+d0O134+Pc1LlcVPsWxmI=";
|
|
};
|
|
|
|
preConfigure = ''
|
|
./autogen.sh
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoconf automake ];
|
|
buildInputs =
|
|
[
|
|
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 ];
|
|
};
|
|
}
|