nixpkgs/pkgs/data/misc/ddccontrol-db/default.nix

40 lines
714 B
Nix
Raw Normal View History

{ lib, stdenv
, autoconf
, automake
, libtool
, intltool
, fetchFromGitHub
}:
2020-12-14 20:40:11 -08:00
stdenv.mkDerivation rec {
pname = "ddccontrol-db";
2021-05-05 19:56:31 -07:00
version = "20210505";
2020-12-14 20:40:11 -08:00
src = fetchFromGitHub {
owner = "ddccontrol";
repo = "ddccontrol-db";
2020-12-14 20:40:11 -08:00
rev = version;
2021-05-05 19:56:31 -07:00
sha256 = "sha256-k0Bcf1I/g2sFnX3y4qyWG7Z3W7K6YeZ9trUFSJ4NhSo=";
};
preConfigure = ''
./autogen.sh
'';
buildInputs =
[
autoconf
automake
libtool
intltool
];
meta = with lib; {
description = "Monitor database for DDCcontrol";
homepage = "https://github.com/ddccontrol/ddccontrol-db";
license = licenses.gpl2;
platforms = platforms.linux;
2021-01-14 23:29:18 -08:00
maintainers = [ lib.maintainers.pakhfn ];
};
}