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";
|
2021-08-05 05:16:00 +00:00
|
|
|
version = "20210804";
|
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;
|
2021-08-05 05:16:00 +00:00
|
|
|
sha256 = "sha256-+PTw4bDJhWyuEae5ShkIL/KvQ29+gU46iE2RdtTWb8M=";
|
2015-03-06 22:10:46 +00:00
|
|
|
};
|
2018-09-19 07:33:07 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2015-03-06 22:10:46 +00:00
|
|
|
buildInputs =
|
|
|
|
[
|
2018-09-19 07:33:07 +00:00
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
intltool
|
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
|
|
|
}
|