2015-03-06 22:10:46 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, perl
|
|
|
|
, perlPackages
|
|
|
|
, libxml2
|
|
|
|
, pciutils
|
|
|
|
, pkgconfig
|
2016-09-11 22:24:51 +01:00
|
|
|
, gtk2
|
2015-03-06 22:10:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let version = "20061014"; in
|
|
|
|
let verName = "${version}"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ddccontrol-db-${verName}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ddccontrol/ddccontrol-db/${verName}/ddccontrol-db-${verName}.tar.bz2";
|
|
|
|
sha1 = "9d06570fdbb4d25e397202a518265cc1173a5de3";
|
|
|
|
};
|
|
|
|
buildInputs =
|
|
|
|
[
|
|
|
|
perl
|
|
|
|
perlPackages.libxml_perl
|
|
|
|
libxml2
|
|
|
|
pciutils
|
|
|
|
pkgconfig
|
2016-09-11 22:24:51 +01:00
|
|
|
gtk2
|
2015-03-06 22:10:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Monitor database for DDCcontrol";
|
2015-03-16 20:27:37 +00:00
|
|
|
homepage = "http://ddccontrol.sourceforge.net/";
|
2015-03-06 22:10:46 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.pakhfn ];
|
|
|
|
};
|
2015-03-16 20:27:37 +00:00
|
|
|
}
|