srcml: init at 0.9.5 (#25395)
This commit is contained in:
parent
874b81b31f
commit
92964a2ea8
2 changed files with 30 additions and 0 deletions
28
pkgs/applications/version-management/srcml/default.nix
Normal file
28
pkgs/applications/version-management/srcml/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python, antlr }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.5_beta";
|
||||
name = "srcml-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.sdml.cs.kent.edu/lmcrs/srcML-${version}-src.tar.gz";
|
||||
sha256 = "13pswdi75qjsw7z75lz7l3yjsvb58drihla2mwj0f9wfahaj3pam";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs .
|
||||
substituteInPlace CMake/install.cmake --replace /usr/local $out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake antlr ];
|
||||
buildInputs = [ libxml2 libxslt boost libarchive python ];
|
||||
|
||||
meta = {
|
||||
description = "Infrastructure for exploration, analysis, and manipulation of source code";
|
||||
homepage = "http://www.srcml.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
|
@ -4120,6 +4120,8 @@ with pkgs;
|
|||
|
||||
squashfsTools = callPackage ../tools/filesystems/squashfs { };
|
||||
|
||||
srcml = callPackage ../applications/version-management/srcml { };
|
||||
|
||||
sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { };
|
||||
|
||||
sshuttle = callPackage ../tools/security/sshuttle { };
|
||||
|
|
Loading…
Reference in a new issue