ddccontrol-db: 20061014 -> 20180908 (#46865)
The project has moved to Github and has a totally different build process since 2006
This commit is contained in:
parent
5697da2f3e
commit
71c43f8c4a
@ -1,34 +1,35 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, autoconf
|
||||||
, perl
|
, automake
|
||||||
, perlPackages
|
, libtool
|
||||||
, libxml2
|
, intltool
|
||||||
, pciutils
|
, fetchFromGitHub
|
||||||
, pkgconfig
|
|
||||||
, gtk2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "20061014"; in
|
|
||||||
let verName = "${version}"; in
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ddccontrol-db-${verName}";
|
name = "ddccontrol-db-20180908";
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/ddccontrol/ddccontrol-db/${verName}/ddccontrol-db-${verName}.tar.bz2";
|
owner = "ddccontrol";
|
||||||
sha1 = "9d06570fdbb4d25e397202a518265cc1173a5de3";
|
repo = "ddccontrol-db";
|
||||||
|
rev = "5f211be363f77dc43e39f911b30f4fb19a2d7a84";
|
||||||
|
sha256 = "0vi3bzxpjdkn791vri68k7dah4v2liscniz7hxrarhl4fxlicc0w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[
|
[
|
||||||
perl
|
autoconf
|
||||||
perlPackages.libxml_perl
|
automake
|
||||||
libxml2
|
libtool
|
||||||
pciutils
|
intltool
|
||||||
pkgconfig
|
|
||||||
gtk2
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Monitor database for DDCcontrol";
|
description = "Monitor database for DDCcontrol";
|
||||||
homepage = http://ddccontrol.sourceforge.net/;
|
homepage = http://github.com/ddccontrol/ddccontrol-db;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.pakhfn ];
|
maintainers = [ stdenv.lib.maintainers.pakhfn ];
|
||||||
|
Loading…
Reference in New Issue
Block a user