2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, intltool
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ddccontrol-db";
|
2021-08-08 23:34:03 +00:00
|
|
|
version = "20210804";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ddccontrol";
|
|
|
|
repo = "ddccontrol-db";
|
2021-02-13 14:23:35 +00:00
|
|
|
rev = version;
|
2021-08-08 23:34:03 +00:00
|
|
|
sha256 = "sha256-+PTw4bDJhWyuEae5ShkIL/KvQ29+gU46iE2RdtTWb8M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
intltool
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Monitor database for DDCcontrol";
|
|
|
|
homepage = "https://github.com/ddccontrol/ddccontrol-db";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = [ lib.maintainers.pakhfn ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|