diff options
author | Peter Simons <simons@cryp.to> | 2010-04-30 12:23:26 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-04-30 12:23:26 +0000 |
commit | 2cd7033243234ddd34138aeb104d4c2b967a8d9f (patch) | |
tree | 57ee32f83c068c0d9b2181db55ce45a729e3b05b | |
parent | 06f51c6e054b6eabf553f550099a17ae2c988280 (diff) | |
download | nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar.gz nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar.bz2 nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar.lz nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar.xz nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.tar.zst nixpkgs-2cd7033243234ddd34138aeb104d4c2b967a8d9f.zip |
pkgs/tools/text/source-highlight: added GNU source highlight version 3.1.3
svn path=/nixpkgs/trunk/; revision=21457
-rw-r--r-- | pkgs/tools/text/source-highlight/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix new file mode 100644 index 00000000000..35dc7a8a8e6 --- /dev/null +++ b/pkgs/tools/text/source-highlight/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, boost }: + +let + name = "source-highlight"; + version = "3.1.3"; +in +stdenv.mkDerivation { + name = "${name}-${version}"; + + src = fetchurl { + url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz"; + sha256 = "2d819f2ffdc8bb23a87635bdfbc51545db22605a8e544f66f86054b8075af0b5"; + }; + + buildInputs = [boost]; + doCheck = false; # The test suite fails with a trivial + # error, so I'll disable it for now. + # Whoever bumps this build to the next + # version, please re-enable it though! + + meta = { + description = "render source code with syntax highlighting"; + homepage = "http://www.gnu.org/software/src-highlite/"; + license = "GPLv3+"; + maintainers = [ ]; + platforms = stdenv.lib.platforms.all; + longDescription = + '' + GNU Source-highlight, given a source file, produces a document + with syntax highlighting. + ''; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 993023fea17..719d7d539d7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1594,6 +1594,10 @@ let inherit fetchurl stdenv openssl; }; + sourceHighlight = import ../tools/text/source-highlight { + inherit fetchurl stdenv boost; + }; + socat2pre = builderDefsPackage ../tools/networking/socat/2.0.0-b3.nix { inherit fetchurl stdenv openssl; }; |