2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-09-19 07:33:07 +00:00
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, intltool
|
|
|
|
, fetchFromGitHub
|
2015-03-06 22:10:46 +00:00
|
|
|
}:
|
|
|
|
|
2020-12-15 04:40:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ddccontrol-db";
|
2022-09-04 13:11:22 +00:00
|
|
|
version = "20220903";
|
2020-12-15 04:40:11 +00:00
|
|
|
|
2018-09-19 07:33:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ddccontrol";
|
|
|
|
repo = "ddccontrol-db";
|
2020-12-15 04:40:11 +00:00
|
|
|
rev = version;
|
2022-09-04 13:11:22 +00:00
|
|
|
sha256 = "sha256-OmroJ2AEQdELE2Wuk1qPXzp+/9RUUULrEAdEpmXrJxw=";
|
2015-03-06 22:10:46 +00:00
|
|
|
};
|
2018-09-19 07:33:07 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2022-09-25 02:49:25 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake intltool ];
|
2015-03-06 22:10:46 +00:00
|
|
|
buildInputs =
|
|
|
|
[
|
2018-09-19 07:33:07 +00:00
|
|
|
libtool
|
2015-03-06 22:10:46 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-03-06 22:10:46 +00:00
|
|
|
description = "Monitor database for DDCcontrol";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ddccontrol/ddccontrol-db";
|
2015-03-06 22:10:46 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2021-01-15 07:29:18 +00:00
|
|
|
maintainers = [ lib.maintainers.pakhfn ];
|
2015-03-06 22:10:46 +00:00
|
|
|
};
|
2015-03-16 20:27:37 +00:00
|
|
|
}
|