diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-12 04:26:59 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-12 20:35:42 +0100 |
commit | 39125d0a088c4e1cc6d119d6fc9bf71380fb3e17 (patch) | |
tree | 4d0e618e8901d85d4175ea91ec8172e04e544c1d /pkgs/tools/text | |
parent | e7a276762bb95c0152ac6d57561a31fd127a36d9 (diff) | |
download | nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar.gz nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar.bz2 nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar.lz nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar.xz nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.tar.zst nixlib-39125d0a088c4e1cc6d119d6fc9bf71380fb3e17.zip |
source-highlight: cleanup, add SuperSandro2000 as maintainer
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/source-highlight/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix index 2e60d2a31c0c..c8eb43a51c9d 100644 --- a/pkgs/tools/text/source-highlight/default.nix +++ b/pkgs/tools/text/source-highlight/default.nix @@ -1,14 +1,11 @@ { lib, stdenv, fetchurl, boost }: -let - name = "source-highlight"; +stdenv.mkDerivation rec { + pname = "source-highlight"; version = "3.1.9"; -in -stdenv.mkDerivation { - name = "${name}-${version}"; src = fetchurl { - url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz"; + url = "mirror://gnu/src-highlite/${pname}-${version}.tar.gz"; sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs"; }; @@ -26,15 +23,15 @@ stdenv.mkDerivation { enableParallelBuilding = false; - meta = { + meta = with lib; { description = "Source code renderer with syntax highlighting"; + longDescription = '' + GNU Source-highlight, given a source file, produces a document + with syntax highlighting. + ''; homepage = "https://www.gnu.org/software/src-highlite/"; - license = lib.licenses.gpl3Plus; - platforms = with lib.platforms; linux ++ darwin; - longDescription = - '' - GNU Source-highlight, given a source file, produces a document - with syntax highlighting. - ''; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ SuperSandro2000 ]; }; } |