diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-15T07·20+0100 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2020-07-15T07·23+0100 |
commit | 1213b086a1015a662ab7ebd658f784534fd3116a (patch) | |
tree | d3bc8f3b7f40b8b60f0ef6fbd649cf765f4fdfb6 /third_party/immer/nix | |
parent | 1390827b9ea1e04bc9863e48930bfd16db3b716e (diff) | |
parent | 7f19d641647ac4ef313ed88d6b5c140983ce5436 (diff) |
merge(3p/immer): Subtree merge at 'ad3e3556d' as 'third_party/immer' r/1299
Change-Id: I9636a41ad44b4218293833fd3e9456d9b07c731b
Diffstat (limited to 'third_party/immer/nix')
-rw-r--r-- | third_party/immer/nix/benchmarks.nix | 100 | ||||
-rw-r--r-- | third_party/immer/nix/docs.nix | 27 |
2 files changed, 127 insertions, 0 deletions
diff --git a/third_party/immer/nix/benchmarks.nix b/third_party/immer/nix/benchmarks.nix new file mode 100644 index 000000000000..9eaa87e291d0 --- /dev/null +++ b/third_party/immer/nix/benchmarks.nix @@ -0,0 +1,100 @@ +{ nixpkgs ? <nixpkgs>}: + +with import nixpkgs {}; + +rec { + c_rrb = stdenv.mkDerivation rec { + name = "c-rrb-${version}"; + version = "git-${commit}"; + commit = "d908617ff84515af90c454ff4d0f98675ae6b456"; + src = fetchFromGitHub { + owner = "hyPiRion"; + repo = "c-rrb"; + rev = commit; + sha256 = "0zmha3xi80vgdcwzb4vwdllf97dvggjpjfgahrpsb5f5qi3yshxa"; + }; + nativeBuildInputs = [ autoreconfHook ]; + propagatedBuildInputs = [ boehmgc ]; + meta = with stdenv.lib; { + homepage = "http://hypirion.com/thesis"; + description = "RRB-tree implemented as a library in C. "; + license = licenses.mit; + }; + }; + + steady = stdenv.mkDerivation rec { + name = "steady-${version}"; + version = "git-${commit}"; + commit = "aac65955f18d0de856e3421d8593378d5e1832c4"; + src = fetchFromGitHub { + owner = "marcusz"; + repo = "steady"; + rev = commit; + sha256 = "0zaxr9aj1q5sr99h133fzxch8lw9daw1pxs2g972s02gdq8r8fzh"; + }; + dontBuild = true; + installPhase = "mkdir -vp $out/include; cp -vr $src/steady $out/include/"; + meta = with stdenv.lib; { + homepage = "https://github.com/marcusz/steady"; + description = "This is a fast and reliable persistent (immutable) vector class for C++"; + license = licenses.asl20; + }; + }; + + chunkedseq = stdenv.mkDerivation rec { + name = "chunkedseq-${version}"; + version = "git-${commit}"; + commit = "f1c4f9470edcb59996fdc4aad34311767c46b25e"; + src = fetchFromGitHub { + owner = "deepsea-inria"; + repo = "chunkedseq"; + rev = commit; + sha256 = "19bps5r3dy55jlvpwq8x2s4d0mwwx0djb6g2r2vvbf628bg6cx8p"; + }; + dontBuild = true; + installPhase = "mkdir -vp $out/include/chunkedseq; cp -vr $src/include/* $out/include/chunkedseq/"; + meta = with stdenv.lib; { + homepage = "http://deepsea.inria.fr/chunkedseq"; + description = "Container data structure for representing sequences by many fixed-capacity heap-allocated buffers--chunks"; + license = licenses.mit; + }; + }; + + immutable_cpp = stdenv.mkDerivation rec { + name = "immutable-cpp-${version}"; + version = "git-${commit}"; + commit = "a4a32022d895dd0d3c03547a2b2a2b03face01eb"; + src = fetchFromGitHub { + owner = "rsms"; + repo = "immutable-cpp"; + rev = commit; + sha256 = "11zn67avqcc8baddf43fsd29bpv08p0ri6zqng12105k725fq2p7"; + }; + dontBuild = true; + installPhase = "mkdir -vp $out/include; cp -vr $src/immutable $out/include/"; + meta = with stdenv.lib; { + homepage = "https://github.com/rsms/immutable-cpp"; + description = "Persistent immutable data structures for C++"; + license = licenses.mit; + }; + }; + + hash_trie = stdenv.mkDerivation rec { + name = "hash_trie-${version}"; + version = "git-${commit}"; + commit = "1ce346c74923ba16329332103dc0f425b658c8be"; + src = fetchFromGitHub { + owner = "philsquared"; + repo = "hash_trie"; + rev = commit; + sha256 = "0rpa1682vm0fvvrs1jr7jdkskcrgkm3qrawrcr7xrmknz5jf0v4l"; + }; + dontBuild = true; + installPhase = "mkdir -vp $out/include; cp -vr $src/hash_trie.hpp $out/include/"; + meta = with stdenv.lib; { + homepage = "https://github.com/rsms/immutable-cpp"; + description = "Persistent immutable data structures for C++"; + license = licenses.mit; + }; + }; +} diff --git a/third_party/immer/nix/docs.nix b/third_party/immer/nix/docs.nix new file mode 100644 index 000000000000..f885e6d9e177 --- /dev/null +++ b/third_party/immer/nix/docs.nix @@ -0,0 +1,27 @@ +{ nixpkgs ? <nixpkgs>}: + +with import nixpkgs {}; + +rec { + breathe = with python27Packages; buildPythonPackage rec { + version = "git-arximboldi-${commit}"; + pname = "breathe"; + name = "${pname}-${version}"; + commit = "5074aecb5ad37bb70f50216eaa01d03a375801ec"; + src = fetchFromGitHub { + owner = "arximboldi"; + repo = "breathe"; + rev = commit; + sha256 = "10kkh3wb0ggyxx1a7x50aklhhw0cq269g3jddf2gb3pv9gpbj7sa"; + }; + propagatedBuildInputs = [ docutils sphinx ]; + meta = with stdenv.lib; { + homepage = https://github.com/michaeljones/breathe; + license = licenses.bsd3; + description = "Sphinx Doxygen renderer"; + inherit (sphinx.meta) platforms; + }; + }; + + recommonmark = python27Packages.recommonmark; +} |