diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-10-10 18:43:16 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-10-26 11:06:33 +0200 |
commit | 411d5742cae63893265b731d6d4f8d3b206e8bb0 (patch) | |
tree | d1051c7144076d0be405a29e50e4670d3c6f1554 /pkgs/development/libraries/tachyon | |
parent | c450d7b0a8db5929763de3dfe41b2d00374054fb (diff) | |
download | nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar.gz nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar.bz2 nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar.lz nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar.xz nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.tar.zst nixpkgs-411d5742cae63893265b731d6d4f8d3b206e8bb0.zip |
symmetrica: init at 2.0
Diffstat (limited to 'pkgs/development/libraries/tachyon')
-rw-r--r-- | pkgs/development/libraries/tachyon/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tachyon/default.nix b/pkgs/development/libraries/tachyon/default.nix new file mode 100644 index 00000000000..838c30777fb --- /dev/null +++ b/pkgs/development/libraries/tachyon/default.nix @@ -0,0 +1,32 @@ +{stdenv, fetchurl}: +stdenv.mkDerivation rec { + name = "tachyon-${version}"; + version = "0.98.9"; + src = fetchurl { + url = "http://jedi.ks.uiuc.edu/~johns/tachyon/files/${version}/${name}.tar.gz"; + sha256 = "1ms0xr4ibrzz291ibm265lyjrdjrmhfrx0a70hwykhsdxn6jk8y6"; + }; + buildInputs = []; + preBuild = "cd unix"; + arch = if stdenv.system == "x86_64-linux" then "linux-64-thr" else + if stdenv.system == "i686-linux" then "linux-thr" else + throw "Don't know what arch to select for tachyon build"; + makeFlags = "${arch}"; + installPhase = '' + cd ../compile/${arch} + mkdir -p "$out"/{bin,lib,include,share/doc/tachyon,share/tachyon} + cp tachyon "$out"/bin + cp libtachyon.* "$out/lib" + cd ../.. + cp Changes Copyright README "$out/share/doc/tachyon" + cp -r scenes "$out/share/tachyon/scenes" + ''; + meta = { + inherit version; + description = ''A Parallel / Multiprocessor Ray Tracing System''; + license = stdenv.lib.licenses.bsd3; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + homepage = "http://jedi.ks.uiuc.edu/~johns/tachyon/"; + }; +} |