diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-08-24 13:20:55 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-08-24 13:20:55 +0000 |
commit | 68a6fa773a4d2328117cfb491d21d8797884d56a (patch) | |
tree | 4401a77e1e1e29e1c2ed9920352c4de7ca0228c8 /pkgs/development/libraries/ptable-support | |
parent | 689b834242ba8c291cab3c8ab6d9839cb5234a60 (diff) |
added seperate meta-environment packages, use callpackage for aterm28
svn path=/nixpkgs/trunk/; revision=23394
Diffstat (limited to 'pkgs/development/libraries/ptable-support')
-rw-r--r-- | pkgs/development/libraries/ptable-support/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ptable-support/default.nix b/pkgs/development/libraries/ptable-support/default.nix new file mode 100644 index 0000000000000..c95a82d42876d --- /dev/null +++ b/pkgs/development/libraries/ptable-support/default.nix @@ -0,0 +1,22 @@ +{ stdenv +, fetchurl +, aterm +, ptSupport +, pkgconfig +}: +let + isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ; +in +stdenv.mkDerivation rec { + name = "ptable-support-1.2"; + + src = fetchurl { + url = "http://www.meta-environment.org/releases/${name}.tar.gz"; + sha256 = "0bqx1xsimf9vq6q2qnsy3565rzlha4cm2blcn3kqwbirfyj1kln9"; + }; + + buildInputs = [aterm ptSupport]; + buildNativeInputs = [pkgconfig]; + + dontStrip = isMingw; +} |