clight: 3.1 -> 4.0

This commit is contained in:
Edmund Wu 2019-10-01 21:37:58 -04:00 committed by Jon
parent dc5358f4ef
commit 3a2614499f

View File

@ -1,18 +1,18 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, dbus, cmake, pkgconfig, bash-completion , dbus, cmake, pkgconfig, bash-completion
, gsl, popt, clightd, systemd, libconfig , gsl, popt, clightd, systemd, libconfig, libmodule
, withGeoclue ? true, geoclue2 , withGeoclue ? true, geoclue2
, withUpower ? true, upower }: , withUpower ? true, upower }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clight"; pname = "clight";
version = "3.1"; version = "4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FedeDP"; owner = "FedeDP";
repo = "Clight"; repo = "Clight";
rev = version; rev = version;
sha256 = "0rzcr1x9h4llnmklhgzs9r7xwhsrw1qkqvfffkp8fs90nycaqx81"; sha256 = "101fp9kwmfmfffpdvv41wf96kdjw0b16xk49g43w32a5wlr74zrq";
}; };
# bash-completion.pc completionsdir=${bash-completion.out} # bash-completion.pc completionsdir=${bash-completion.out}
@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
systemd systemd
geoclue2 geoclue2
libconfig libconfig
libmodule
] ++ optional withGeoclue geoclue2 ] ++ optional withGeoclue geoclue2
++ optional withUpower upower; ++ optional withUpower upower;