Separated DDCcontrol-DB declaration from DDCcontrol declaration

This commit is contained in:
Fedor Pakhomov 2015-03-07 01:10:46 +03:00
parent b85beb6984
commit eb8105ad01
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,37 @@
{ stdenv
, fetchurl
, perl
, perlPackages
, libxml2
, pciutils
, pkgconfig
, gtk
}:
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 =
[
stdenv
perl
perlPackages.libxml_perl
libxml2
pciutils
pkgconfig
gtk
];
meta = with stdenv.lib; {
description = "Monitor database for DDCcontrol";
homepage = "http://http://ddccontrol.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ stdenv.lib.maintainers.pakhfn ];
};
}

View File

@ -1009,7 +1009,7 @@ let
ddccontrol = callPackage ../tools/misc/ddccontrol { };
ddccontrol-db = callPackage ../tools/misc/ddccontrol/ddccontrol-db.nix { };
ddccontrol-db = callPackage ../data/misc/ddccontrol-db { };
ddclient = callPackage ../tools/networking/ddclient { };