veracity: remove dead package

Last updated in 2012, broken since 2013. (OK, fine, but—)
Homepage abandoned, mailing list dead. (Hm. Spooky)
Uses builderDefsPackage. (Eek)

-124
-108
pkgs/applications/version-management/veracity/default.nix
··· 1 - x@{builderDefsPackage 2 - , cmake, curl, patch, zlib, icu, sqlite, libuuid 3 - , readline, openssl, spidermonkey_1_8_0rc1 4 - , nspr, nss 5 - , unzip, glibcLocales 6 - , runTests ? false 7 - , ...}: 8 - builderDefsPackage 9 - (a : 10 - let 11 - s = import ./src-for-default.nix; 12 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 13 - ["runTests"]; 14 - buildInputs = map (n: builtins.getAttr n x) 15 - (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 16 - 17 - in 18 - rec { 19 - src = a.fetchUrlFromSrcInfo s; 20 - 21 - inherit (s) name; 22 - inherit buildInputs; 23 - 24 - phaseNames = ["prepare_sgneeds" "dump0" "prepareMakefiles" "fixPaths" "doMake" "doTest" "doDeploy"]; 25 - 26 - dump0 = (a.doDump "0"); 27 - 28 - runTests = a.stdenv.lib.attrByPath ["runTests"] false a; 29 - 30 - doTest = a.fullDepEntry (if runTests then '' 31 - mkdir pseudo-home 32 - export HOME=$PWD/pseudo-home 33 - export LC_ALL=en_US.UTF-8 34 - export LANG=en_US.UTF-8 35 - ${if a.stdenv.isLinux then "export LOCALE_ARCHIVE=${a.glibcLocales}/lib/locale/locale-archive;" else ""} 36 - make test || true 37 - '' else "") ["doMake" "minInit"]; 38 - 39 - prepare_sgneeds = a.fullDepEntry ('' 40 - mkdir -p "$out/sgneeds/include/spidermonkey" 41 - for d in bin include lib; do 42 - mkdir -p "$out/sgneeds/$d" 43 - mkdir -p "$out/sgneeds/$d" 44 - for p in "${spidermonkey_1_8_0rc1}"; do 45 - for f in "$p"/"$d"/*; do 46 - ln -sf "$f" "$out"/sgneeds/"$d" 47 - done 48 - done 49 - done 50 - for p in "${spidermonkey_1_8_0rc1}/include" "${spidermonkey_1_8_0rc1}/include/js"; do 51 - for f in "$p"/*; do 52 - ln -sf "$f" "$out"/sgneeds/include/spidermonkey/ 53 - done 54 - done 55 - 56 - mkdir -p "$out/sgneeds/include/sgbrings" 57 - ln -s "$out/sgneeds/include/js" "$out/sgneeds/include/sgbrings/js" 58 - for f in "$out/sgneeds/lib/"libjs*; do 59 - bn="$(basename "$f")" 60 - ln -s "$f" "$out/sgneeds/lib/''${bn/libjs/libsgbrings_js}" 61 - done 62 - 63 - export SGNEEDS_DIR="$out"/sgneeds/ 64 - export VVTHIRDPARTY="$out"/sgneeds/ 65 - 66 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I"$out/sgneeds/include" -Wno-error" 67 - '') ["minInit" "defEnsureDir"]; 68 - 69 - prepareMakefiles = a.fullDepEntry '' 70 - sed -e 's@ /bin/uname @ uname @g' -i CMakeLists.txt 71 - sed -e 's@ /bin/uname @ uname @g' -i common-CMakeLists.txt 72 - cd .. 73 - mkdir build 74 - cd build 75 - export NIX_LDFLAGS="$NIX_LDFLAGS -lssl" 76 - cmake -G "Unix Makefiles" -D SGNEEDS_DIR="$SGNEEDS_DIR" -D VVTHIRDPARTY="$VVTHIRDPARTY" -D SPIDERMONKEY_INCDIR="${a.spidermonkey_1_8_0rc1}/include" -D SPIDERMONKEY_LIB="${a.spidermonkey_1_8_0rc1}/lib/libjs.so" ../veracity* 77 - '' ["minInit" "addInputs" "doUnpack"]; 78 - 79 - fixPaths = a.fullDepEntry '' 80 - sed -e "s@/bin/bash@${a.stdenv.shell}@" -i $(find .. -type f) 81 - sed -e 's@/bin/ln@#{a.coreutils}/bin/ln@g' -i ../veracity/src/js_tests/*.js 82 - sed -e 's@/usr/bin/gdb@#{a.gdb}/bin/gdb@g' -i ../veracity/testsuite/c_test.sh 83 - sed -e 's@"/bin/@"@g' -i ../veracity/testsuite/u*.c 84 - '' ["minInit"]; 85 - 86 - doDeploy = a.fullDepEntry '' 87 - mkdir -p "$out/bin" "$out/share/veracity/" 88 - cp -r .. "$out/share/veracity/build-dir" 89 - ln -s "$out/share/veracity/build-dir/build/src/cmd/vv" "$out/bin" 90 - ln -s "$out/share/veracity/build-dir/build/src/script/vscript" "$out/bin" 91 - ${if runTests then "" else '' 92 - rm -rf "$out/share/veracity/build-dir/veracity/testsuite" 93 - rm -rf "$out/share/veracity/build-dir/build/testsuite" 94 - ''} 95 - '' ["doMake" "minInit" "defEnsureDir"]; 96 - 97 - meta = { 98 - description = "A distributed version control system with template-based merging"; 99 - maintainers = with a.lib.maintainers; 100 - [ 101 - raskin 102 - ]; 103 - platforms = with a.lib.platforms; 104 - linux ; 105 - broken = true; 106 - }; 107 - }) x 108 -
-9
pkgs/applications/version-management/veracity/src-for-default.nix
··· 1 - rec { 2 - version="2.1.0.10979"; 3 - name="veracity-2.1.0.10979"; 4 - hash="15x3cwwjv9b0cbjx6insqk190wpnhwcm1z4b570hvw3lix3xnxhl"; 5 - url="http://download.sourcegear.com/Veracity/release/2.1.0.10979/veracity-source-${version}.tar.gz"; 6 - advertisedUrl="http://download.sourcegear.com/Veracity/release/2.1.0.10979/veracity-source-2.1.0.10979.tar.gz"; 7 - 8 - 9 - }
-5
pkgs/applications/version-management/veracity/src-info-for-default.nix
··· 1 - { 2 - downloadPage = "http://veracity-scm.org/downloads.html"; 3 - #downloadPage = "http://download-us.sourcegear.com/Veracity/nightly/index.html"; 4 - baseName = "veracity"; 5 - }
-2
pkgs/top-level/all-packages.nix
··· 13427 13427 13428 13428 vdpauinfo = callPackage ../tools/X11/vdpauinfo { }; 13429 13429 13430 - veracity = callPackage ../applications/version-management/veracity {}; 13431 - 13432 13430 viewMtn = builderDefsPackage (callPackage ../applications/version-management/viewmtn/0.10.nix) 13433 13431 { 13434 13432 flup = pythonPackages.flup;