Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Add Veracity distributed VCS (+ issue tracker)

svn path=/nixpkgs/trunk/; revision=23031

+66
+49
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 + , ...}: 5 + builderDefsPackage 6 + (a : 7 + let 8 + s = import ./src-for-default.nix; 9 + helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 10 + []; 11 + buildInputs = map (n: builtins.getAttr n x) 12 + (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 13 + 14 + in 15 + rec { 16 + src = a.fetchUrlFromSrcInfo s; 17 + 18 + inherit (s) name; 19 + inherit buildInputs; 20 + 21 + phaseNames = ["prepareMakefiles" "doMake" "doDeploy"]; 22 + 23 + prepareMakefiles = a.fullDepEntry '' 24 + find src -type f -exec sed -e 's@#include \([<"]\)sgbrings/js/js@#include \1js/js@g' -i '{}' ';' 25 + cd .. 26 + mkdir build 27 + cd build 28 + export NIX_LDFLAGS="$NIX_LDFLAGS -lssl" 29 + cmake -G "Unix Makefiles" -D SGBRINGS_JS_INCDIR="${spidermonkey_1_8_0rc1}/include" -D SGBRINGS_JS_LIB="${spidermonkey_1_8_0rc1}/lib/libjs.a" ../veracity* 30 + '' ["minInit" "addInputs" "doUnpack"]; 31 + 32 + doDeploy = a.fullDepEntry '' 33 + ensureDir "$out/bin" "$out/share/veracity/" 34 + cp -r .. "$out/share/veracity/build-dir" 35 + ln -s "$out/share/veracity/build-dir/build/src/cmd/vv" "$out/bin" 36 + ln -s "$out/share/veracity/build-dir/build/src/script/vscript" "$out/bin" 37 + '' ["doMake" "minInit" "defEnsureDir"]; 38 + 39 + meta = { 40 + description = "A distributed version control system with template-based merging"; 41 + maintainers = with a.lib.maintainers; 42 + [ 43 + raskin 44 + ]; 45 + platforms = with a.lib.platforms; 46 + linux ; 47 + }; 48 + }) x 49 +
+8
pkgs/applications/version-management/veracity/src-for-default.nix
···
··· 1 + rec { 2 + version="0.3.0.10246"; 3 + name="veracity-0.3.0.10246"; 4 + hash="03wn6dzbjv5p50xmiznynza5c1nk38v95mzv6rk6km1ykqprnlw0"; 5 + url="http://download-us.sourcegear.com/Veracity/0.3.0.10246/veracity-source-${version}.tar.gz"; 6 + advertisedUrl="http://download-us.sourcegear.com/Veracity/0.3.0.10246/veracity-source-0.3.0.10246.tar.gz"; 7 + 8 + }
+4
pkgs/applications/version-management/veracity/src-info-for-default.nix
···
··· 1 + { 2 + downloadPage = "http://sourcegear.com/veracity/downloads.html"; 3 + baseName = "veracity"; 4 + }
+3
pkgs/development/interpreters/spidermonkey/Makefile.extra
··· 4 cp -v $(PROGRAM) $(DIST)/bin 5 cp -v $(SHARED_LIBRARY) $(LIBRARY) $(DIST)/lib 6 cp -v $(JS_HFILES) $(API_HFILES) $(OTHER_HFILES) $(DIST)/include 7
··· 4 cp -v $(PROGRAM) $(DIST)/bin 5 cp -v $(SHARED_LIBRARY) $(LIBRARY) $(DIST)/lib 6 cp -v $(JS_HFILES) $(API_HFILES) $(OTHER_HFILES) $(DIST)/include 7 + mkdir -pv $(DIST)/include/js 8 + find . -name '*.h' -exec cp '{}' $(DIST)/include/js ';' 9 + find . -name '*.msg' -exec cp '{}' $(DIST)/include/js ';' 10
+2
pkgs/top-level/all-packages.nix
··· 6108 qt = qt3; 6109 }; 6110 6111 viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix) 6112 { 6113 inherit monotone flup cheetahTemplate highlight ctags
··· 6108 qt = qt3; 6109 }; 6110 6111 + veracity = callPackage ../applications/version-management/veracity {}; 6112 + 6113 viewMtn = builderDefsPackage (import ../applications/version-management/viewmtn/0.10.nix) 6114 { 6115 inherit monotone flup cheetahTemplate highlight ctags