mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
highlight: 3.39 -> 3.40, fetch src from Github
This commit is contained in:
parent
70f35a99a4
commit
367a3e45fd
@ -1,14 +1,16 @@
|
|||||||
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig, gcc }:
|
{ stdenv, fetchFromGitHub, getopt, lua, boost, pkgconfig, gcc }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "highlight-${version}";
|
name = "highlight-${version}";
|
||||||
version = "3.39";
|
version = "3.40";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
owner = "andre-simon";
|
||||||
sha256 = "0z8gs69sqlyis4kvl8wwdgzywi199k73kkvn1mf9pf60npvcxwj4";
|
repo = "highlight";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0bkywhz4y10qcajimdha1ck5mvn7fsrv3yn8nd6rqbva39gbfmfd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ] ++ optional stdenv.isDarwin gcc ;
|
nativeBuildInputs = [ pkgconfig ] ++ optional stdenv.isDarwin gcc ;
|
||||||
@ -28,6 +30,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Source code highlighting tool";
|
description = "Source code highlighting tool";
|
||||||
homepage = http://www.andre-simon.de/doku/highlight/en/highlight.php;
|
homepage = http://www.andre-simon.de/doku/highlight/en/highlight.php;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.ndowens ];
|
maintainers = with maintainers; [ ndowens willibutz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user