mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
839 B
Nix
32 lines
839 B
Nix
{ lib, stdenv, fetchurl, makeWrapper, gcc, asciidoc, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "colm";
|
|
version = "0.13.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.colm.net/files/colm/${pname}-${version}.tar.gz";
|
|
sha256 = "0f76iri173l2wja2v7qrwmf958cqwh5g9x4bhj2z8wknmlla6gz4";
|
|
};
|
|
|
|
patches = [ ./cross-compile.patch ];
|
|
|
|
nativeBuildInputs = [ makeWrapper asciidoc autoreconfHook ];
|
|
|
|
doCheck = true;
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/colm \
|
|
--prefix PATH ":" ${gcc}/bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Programming language for the analysis and transformation of computer languages";
|
|
mainProgram = "colm";
|
|
homepage = "http://www.colm.net/open-source/colm";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|