1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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 { };