uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/applications/version-management/srcml/default.nix
Normal file
34
pkgs/applications/version-management/srcml/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python2, antlr2,
|
||||
curl
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.5_beta";
|
||||
pname = "srcml";
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./gcc6.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake antlr2 ];
|
||||
buildInputs = [ libxml2 libxslt boost libarchive python2 curl ];
|
||||
|
||||
meta = {
|
||||
description = "Infrastructure for exploration, analysis, and manipulation of source code";
|
||||
homepage = "https://www.srcml.org";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue