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