highlight: 3.43 -> 3.52, use GitLab source

This commit is contained in:
WilliButz 2019-07-24 18:31:23 +02:00
parent 6b7c72105e
commit 0d137e1991
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -1,18 +1,20 @@
{ stdenv, fetchFromGitHub, getopt, lua, boost, pkgconfig, gcc }:
{ stdenv, fetchFromGitLab, getopt, lua, boost, pkgconfig, gcc }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "highlight-${version}";
version = "3.43";
version = "3.52";
src = fetchFromGitHub {
owner = "andre-simon";
src = fetchFromGitLab {
owner = "saalen";
repo = "highlight";
rev = "v${version}";
sha256 = "126nsf4cjxflg2kiv72qf1xl5fsilk0jqcncs6qqgm72cpjfmlsy";
sha256 = "0zhn1k70ck82ks7ckzsy1yiz686ym2ps7c28wjmkgxfpyjanilrq";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ] ++ optional stdenv.isDarwin gcc ;
buildInputs = [ getopt lua boost ];