forked from mirrors/nixpkgs
ce60442420
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/colm/versions
29 lines
742 B
Nix
29 lines
742 B
Nix
{ stdenv, fetchurl, makeWrapper, gcc, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "colm-${version}";
|
|
version = "0.13.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.colm.net/files/colm/${name}.tar.gz";
|
|
sha256 = "0f76iri173l2wja2v7qrwmf958cqwh5g9x4bhj2z8wknmlla6gz4";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper asciidoc ];
|
|
|
|
doCheck = true;
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/colm \
|
|
--prefix PATH ":" ${gcc}/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A programming language for the analysis and transformation of computer languages";
|
|
homepage = http://www.colm.net/open-source/colm;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|