source-highlight: cleanup, add SuperSandro2000 as maintainer

This commit is contained in:
Sandro Jäckel 2021-02-12 04:26:59 +01:00
parent e7a276762b
commit 39125d0a08
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,14 +1,11 @@
{ lib, stdenv, fetchurl, boost }: { lib, stdenv, fetchurl, boost }:
let stdenv.mkDerivation rec {
name = "source-highlight"; pname = "source-highlight";
version = "3.1.9"; version = "3.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz"; url = "mirror://gnu/src-highlite/${pname}-${version}.tar.gz";
sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs"; sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs";
}; };
@ -26,15 +23,15 @@ stdenv.mkDerivation {
enableParallelBuilding = false; enableParallelBuilding = false;
meta = { meta = with lib; {
description = "Source code renderer with syntax highlighting"; 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/"; homepage = "https://www.gnu.org/software/src-highlite/";
license = lib.licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = with lib.platforms; linux ++ darwin; platforms = platforms.unix;
longDescription = maintainers = with maintainers; [ SuperSandro2000 ];
''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
}; };
} }