Skip to content

Commit

Permalink
Merge pull request #65341 from WilliButz/update-highlight
Browse files Browse the repository at this point in the history
highlight: 3.43 -> 3.52, use GitLab source
  • Loading branch information
globin authored Jul 24, 2019
2 parents f11ce86 + 0d137e1 commit 12d3b61
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkgs/tools/text/highlight/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
Expand Down

0 comments on commit 12d3b61

Please sign in to comment.