2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv
|
2018-09-19 00:33:07 -07:00
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, intltool
|
|
|
|
, fetchFromGitHub
|
2015-03-06 14:10:46 -08:00
|
|
|
}:
|
|
|
|
|
2020-12-14 20:40:11 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ddccontrol-db";
|
2021-05-05 19:56:31 -07:00
|
|
|
version = "20210505";
|
2020-12-14 20:40:11 -08:00
|
|
|
|
2018-09-19 00:33:07 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ddccontrol";
|
|
|
|
repo = "ddccontrol-db";
|
2020-12-14 20:40:11 -08:00
|
|
|
rev = version;
|
2021-05-05 19:56:31 -07:00
|
|
|
sha256 = "sha256-k0Bcf1I/g2sFnX3y4qyWG7Z3W7K6YeZ9trUFSJ4NhSo=";
|
2015-03-06 14:10:46 -08:00
|
|
|
};
|
2018-09-19 00:33:07 -07:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2015-03-06 14:10:46 -08:00
|
|
|
buildInputs =
|
|
|
|
[
|
2018-09-19 00:33:07 -07:00
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
intltool
|
2015-03-06 14:10:46 -08:00
|
|
|
];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2015-03-06 14:10:46 -08:00
|
|
|
description = "Monitor database for DDCcontrol";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/ddccontrol/ddccontrol-db";
|
2015-03-06 14:10:46 -08:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2021-01-14 23:29:18 -08:00
|
|
|
maintainers = [ lib.maintainers.pakhfn ];
|
2015-03-06 14:10:46 -08:00
|
|
|
};
|
2015-03-16 13:27:37 -07:00
|
|
|
}
|