mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
68a6fa773a
svn path=/nixpkgs/trunk/; revision=23394
27 lines
738 B
Nix
27 lines
738 B
Nix
{stdenv, fetchurl}:
|
|
|
|
let
|
|
isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ;
|
|
in
|
|
stdenv.mkDerivation ( {
|
|
name = "aterm-2.8";
|
|
|
|
src = fetchurl {
|
|
url = http://www.meta-environment.org/releases/aterm-2.8.tar.gz;
|
|
sha256 = "1vq4qpmcww3n9v7bklgp7z1yqi9gmk6hcahqjqdzc5ksa089rdms";
|
|
};
|
|
|
|
patches = [
|
|
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
|
|
./max-long.patch
|
|
] ++ ( if isMingw then [./aterm-mingw-asm.patch] else [] );
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
|
|
license = "LGPL";
|
|
description = "Library for manipulation of term data structures in C";
|
|
};
|
|
} // ( if isMingw then { dontStrip = true; } else {}) )
|