From 8c91610cb2abba775238c83b4cccd7815a068d70 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 26 Jan 2016 00:34:30 +0000 Subject: [PATCH] content: remove Doesn't build and have been abandoned for years --- .../science/math/content/default.nix | 98 ------------------- pkgs/top-level/all-packages.nix | 2 - 2 files changed, 100 deletions(-) delete mode 100644 pkgs/applications/science/math/content/default.nix diff --git a/pkgs/applications/science/math/content/default.nix b/pkgs/applications/science/math/content/default.nix deleted file mode 100644 index 48e20d427d15..000000000000 --- a/pkgs/applications/science/math/content/default.nix +++ /dev/null @@ -1,98 +0,0 @@ -a @ { mesa, lesstif, libX11, libXaw, xproto, libXt, libSM, libICE, libXmu, libXext, libXcursor, ... } : -let - fetchurl = a.fetchurl; - - version = "1.5"; - buildInputs = with a; [ - mesa lesstif libX11 libXaw xproto libXt libSM libICE - libXmu libXext libXcursor - ]; -in -rec { - srcNcbiStdH = fetchurl { - url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/ncbistd.h"; - sha256 = "1zi3l53b0a7d3620rhxvh1jn7pz3ihl1mxl9qqw86xkmhm4q7xf3"; - }; - - srcVibrant = fetchurl { - url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/vibrant.tar.gz"; - sha256 = "1s0vsa0np3sm7jh3ps3f1sf4j64v0kw4hqasllpxx5hdgxwd8y25"; - }; - - srcContent = fetchurl { - url = "http://www.math.uu.nl/people/kuznet/CONTENT/src/unix/content_${version}.tar.gz"; - sha256 = "0y0dzr1d3jgbd53729jk6s2wpb5hv54xwbdird4r0s15bznpm6fs"; - }; - - inherit buildInputs; - configureFlags = []; - - /* doConfigure should be removed if not needed */ - phaseNames = ["unpackTarballs" - "setPlatform" "extraVars" - "buildVibrant" "buildContent" - "install"]; - - unpackTarballs = a.fullDepEntry ('' - mkdir content - cd content - mkdir vibrant - tar -xvf ${srcVibrant} -C vibrant - tar -xvf ${srcContent} -C . - sed -e s/SGI=/SGI=no/ -i content/makefile_v - '') ["minInit"]; - - platformTLAContent = if a.stdenv.isLinux then "LIN" else - throw "Three-letter code for the platform is not known"; - - platformTLAVibrant = if a.stdenv.isLinux then "lnx" else - throw "Three-letter code for the platform is not known"; - - setPlatform = a.fullDepEntry ('' - sed -e 's/${platformTLAContent}=no/${platformTLAContent}=/' -i content/makefile_v - '') ["minInit" "unpackTarballs"]; - - extraVars = a.noDepEntry '' - export NIX_LDFLAGS="$NIX_LDFLAGS -lXcursor" - ''; - - buildVibrant = a.fullDepEntry ('' - cd vibrant/build - - export LCL=${platformTLAVibrant} - make copy - for i in *.c; do gcc $i -c -DWIN_MOTIF -I. -I../include; done - sh ../make/viball.${platformTLAVibrant} - - cd ../.. - '') ["addInputs" "unpackTarballs"]; - - buildContent = a.fullDepEntry ('' - cd content - - export PATH=$PATH:$PWD/victor:$PWD/yuri - make -f makefile_v unix - - cd .. - '') ["addInputs" "buildVibrant" "setPlatform"]; - - install = a.fullDepEntry ('' - mkdir -p $out/share/${name}/build-snapshot $out/bin $out/lib $out/share/${name}/doc - find . -name '*.o' -exec cp '{}' $out/lib ';' - find . -name '*.so' -exec cp '{}' $out/lib ';' - find . -name '*.txt' -exec cp '{}' $out/share/${name}/doc ';' - find . -name '*.hlp' -exec cp '{}' $out/share/${name}/doc ';' - find . -perm -0100 -a ! -name '*.*' -exec cp '{}' $out/bin ';' - cp -r . $out/share/${name}/build-snapshot - '') ["buildContent" "defEnsureDir" "minInit"]; - - name = "content-" + version; - meta = { - description = "A tool for analysis of dynamical systems"; - maintainers = [ - a.lib.maintainers.raskin - ]; - platforms = a.lib.platforms.linux; - broken = true; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aa4d519c4397..12cbf401466a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14956,8 +14956,6 @@ let blas = callPackage ../development/libraries/science/math/blas { }; - content = builderDefsPackage (callPackage ../applications/science/math/content) {}; - jags = callPackage ../applications/science/math/jags { };