commit
05b69d83da
@ -0,0 +1,24 @@ |
||||
import ./make-test-python.nix ({ pkgs, ... }: { |
||||
name = "tuxguitar"; |
||||
meta = with pkgs.lib.maintainers; { |
||||
maintainers = [ asbachb ]; |
||||
}; |
||||
|
||||
machine = { config, pkgs, ... }: { |
||||
imports = [ |
||||
./common/x11.nix |
||||
]; |
||||
|
||||
services.xserver.enable = true; |
||||
|
||||
environment.systemPackages = [ pkgs.tuxguitar ]; |
||||
}; |
||||
|
||||
testScript = '' |
||||
machine.wait_for_x() |
||||
machine.succeed("tuxguitar &") |
||||
machine.wait_for_window("TuxGuitar - Untitled.tg") |
||||
machine.sleep(1) |
||||
machine.screenshot("tuxguitar") |
||||
''; |
||||
}) |
@ -0,0 +1,39 @@ |
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, deadbeef, gtk3, perl |
||||
, libdbusmenu-glib }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "deadbeef-statusnotifier-plugin"; |
||||
version = "1.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "vovochka404"; |
||||
repo = "deadbeef-statusnotifier-plugin"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-6WEbY59vPNrL3W5GUwFQJimmSS+td8Ob+G46fPAxfV4="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
buildInputs = [ deadbeef gtk3 libdbusmenu-glib ]; |
||||
|
||||
buildFlags = [ "gtk3" ]; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace tools/glib-mkenums \ |
||||
--replace /usr/bin/perl "${perl}/bin/perl" |
||||
''; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
mkdir -p $out/lib/deadbeef |
||||
cp build/sni_gtk3.so $out/lib/deadbeef |
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "DeaDBeeF StatusNotifier Plugin"; |
||||
homepage = "https://github.com/vovochka404/deadbeef-statusnotifier-plugin"; |
||||
license = licenses.gpl3Plus; |
||||
maintainers = [ maintainers.kurnevsky ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,45 @@ |
||||
{ lib, stdenv, fetchFromGitHub, addOpenGLRunpath, cudatoolkit }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "gpu-burn"; |
||||
version = "unstable-2021-04-29"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "wilicc"; |
||||
repo = "gpu-burn"; |
||||
rev = "1e9a84f4bec3b0835c00daace45d79ed6c488edb"; |
||||
sha256 = "sha256-x+kta81Z08PsBgbf+fzRTXhNXUPBd5w8bST/T5nNiQA="; |
||||
}; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace gpu_burn-drv.cpp \ |
||||
--replace "const char *kernelFile = \"compare.ptx\";" \ |
||||
"const char *kernelFile = \"$out/share/compare.ptx\";" |
||||
''; |
||||
|
||||
buildInputs = [ cudatoolkit ]; |
||||
|
||||
nativeBuildInputs = [ addOpenGLRunpath ]; |
||||
|
||||
makeFlags = [ "CUDAPATH=${cudatoolkit}" ]; |
||||
|
||||
LDFLAGS = "-L${cudatoolkit}/lib/stubs"; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/{bin,share} |
||||
cp gpu_burn $out/bin/ |
||||
cp compare.ptx $out/share/ |
||||
''; |
||||
|
||||
postFixup = '' |
||||
addOpenGLRunpath $out/bin/gpu_burn |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
homepage = "http://wili.cc/blog/gpu-burn.html"; |
||||
description = "Multi-GPU CUDA stress test"; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ elohmeier ]; |
||||
license = licenses.bsd2; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,26 @@ |
||||
{ lib, fetchFromGitHub, python3Packages }: |
||||
|
||||
python3Packages.buildPythonPackage rec { |
||||
pname = "nengo-gui"; |
||||
version = "0.4.8"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "nengo"; |
||||
repo = "nengo-gui"; |
||||
rev = "v${version}"; |
||||
sha256 = "1awb0h2l6yifb77zah7a4qzxqvkk4ac5fynangalidr10sk9rzk3"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = with python3Packages; [ nengo ]; |
||||
|
||||
# checks req missing: |
||||
# pyimgur |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Nengo interactive visualizer"; |
||||
homepage = "https://nengo.ai/"; |
||||
license = licenses.unfreeRedistributable; |
||||
maintainers = with maintainers; [ arjix ]; |
||||
}; |
||||
} |
@ -1,48 +0,0 @@ |
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch |
||||
, pkg-config, autoreconfHook |
||||
, openssl, libopus, alsa-lib, libpulseaudio |
||||
}: |
||||
|
||||
with lib; |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "libtgvoip"; |
||||
version = "unstable-2021-07-13"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "telegramdesktop"; |
||||
repo = "libtgvoip"; |
||||
rev = "f321e7c8cc086bac6ae06fa0934aac7d9833a310"; |
||||
sha256 = "1gk5nsqhbnn1cdh83b70qr3d3v2c1bncylvgn77vvj8vnyjlmnfq"; |
||||
}; |
||||
|
||||
# To fix the build without external webrtc: |
||||
patches = [ |
||||
(fetchpatch { |
||||
# Use methods from updated webrtc. |
||||
url = "https://github.com/telegramdesktop/libtgvoip/commit/13a5fcb16b04472d808ce122abd695dbf5d206cd.patch"; |
||||
sha256 = "0wapqvml3yyv5dlp2q8iih5rfvfnkngll69krhnw5xsdjy22sp7r"; |
||||
revert = true; |
||||
}) |
||||
(fetchpatch { |
||||
# Allow working with external webrtc. |
||||
url = "https://github.com/telegramdesktop/libtgvoip/commit/6e82b6e45664c1f80b9039256c99bebc76d34672.patch"; |
||||
sha256 = "0m87ixja70vnm80a9z4gxk0yl7n64y59smczxb88lxnj6kdgih7x"; |
||||
revert = true; |
||||
}) |
||||
]; |
||||
|
||||
outputs = [ "out" "dev" ]; |
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ]; |
||||
buildInputs = [ openssl libopus alsa-lib libpulseaudio ]; |
||||
enableParallelBuilding = true; |
||||
|
||||
meta = { |
||||
description = "VoIP library for Telegram clients"; |
||||
license = licenses.unlicense; |
||||
platforms = platforms.linux; |
||||
homepage = "https://github.com/telegramdesktop/libtgvoip"; |
||||
maintainers = with maintainers; [ ilya-fedin ]; |
||||
}; |
||||
} |
@ -1,15 +0,0 @@ |
||||
diff --git a/cmd/gomobile/bind_androidapp.go b/cmd/gomobile/bind_androidapp.go
|
||||
index 3b01adc..76216fa 100644
|
||||
--- a/cmd/gomobile/bind_androidapp.go
|
||||
+++ b/cmd/gomobile/bind_androidapp.go
|
||||
@@ -372,6 +372,10 @@ func androidAPIPath() (string, error) {
|
||||
var apiVer int
|
||||
for _, fi := range fis {
|
||||
name := fi.Name()
|
||||
+ // Resolve symlinked directories (this is how the Nix Android SDK package is built)
|
||||
+ if fi2, err := os.Stat(filepath.Join(sdkDir.Name(), name)); err == nil {
|
||||
+ fi = fi2
|
||||
+ }
|
||||
if !fi.IsDir() || !strings.HasPrefix(name, "android-") {
|
||||
continue
|
||||
}
|
@ -0,0 +1,26 @@ |
||||
{ lib, fetchFromGitHub, buildDunePackage, core, core_kernel, pkg-config, sqlite |
||||
}: |
||||
buildDunePackage rec { |
||||
pname = "hack_parallel"; |
||||
version = "1.0.1"; |
||||
useDune2 = true; |
||||
minimumOcamlVersion = "4.04.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "rvantonder"; |
||||
repo = "hack_parallel"; |
||||
rev = version; |
||||
sha256 = "0qjlkw35r4q2cm0n2x0i73zvx1xgrp6axaia2nm8zxpm49mid629"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
|
||||
buildInputs = [ core core_kernel sqlite ]; |
||||
|
||||
meta = { |
||||
description = |
||||
"Core parallel and shared memory library used by Hack, Flow, and Pyre"; |
||||
license = lib.licenses.mit; |
||||
homepage = "https://github.com/rvantonder/hack_parallel"; |
||||
}; |
||||
} |
@ -1,25 +1,21 @@ |
||||
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }: |
||||
{ lib, fetchFromGitHub, buildDunePackage }: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "ocaml${ocaml.version}-mparser-1.2.3"; |
||||
src = fetchzip { |
||||
url = "https://github.com/cakeplus/mparser/archive/1.2.3.tar.gz"; |
||||
sha256 = "1f8vpagmv0jdm50pxs2xwh2xcmvgaprx4kw871hlml9ahsflxgnw"; |
||||
}; |
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ]; |
||||
buildDunePackage rec { |
||||
pname = "mparser"; |
||||
version = "1.3"; |
||||
useDune2 = true; |
||||
|
||||
configurePhase = "ocaml setup.ml -configure"; |
||||
buildPhase = "ocaml setup.ml -build"; |
||||
installPhase = "ocaml setup.ml -install"; |
||||
|
||||
createFindlibDestdir = true; |
||||
src = fetchFromGitHub { |
||||
owner = "murmour"; |
||||
repo = "mparser"; |
||||
rev = version; |
||||
sha256 = "16j19v16r42gcsii6a337zrs5cxnf12ig0vaysxyr7sq5lplqhkx"; |
||||
}; |
||||
|
||||
meta = { |
||||
description = "A simple monadic parser combinator OCaml library"; |
||||
license = lib.licenses.lgpl21Plus; |
||||
homepage = "https://github.com/cakeplus/mparser"; |
||||
homepage = "https://github.com/murmour/mparser"; |
||||
maintainers = [ lib.maintainers.vbgl ]; |
||||
inherit (ocaml.meta) platforms; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,12 @@ |
||||
{ fetchFromGitHub, buildDunePackage, ocaml_pcre, mparser }: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "mparser-pcre"; |
||||
useDune2 = true; |
||||
|
||||
inherit (mparser) src version; |
||||
|
||||
propagatedBuildInputs = [ ocaml_pcre mparser ]; |
||||
|
||||
meta = mparser.meta // { description = "PCRE-based regular expressions"; }; |
||||
} |
@ -0,0 +1,33 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-crypto |
||||
, tezos-micheline |
||||
, ptime |
||||
, ezjsonm |
||||
, ipaddr |
||||
, qcheck-alcotest |
||||
, crowbar |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-base"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-crypto |
||||
tezos-micheline |
||||
ptime |
||||
ezjsonm |
||||
ipaddr |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
qcheck-alcotest |
||||
crowbar |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: meta-package and pervasive type definitions for Tezos"; |
||||
}; |
||||
} |
@ -0,0 +1,25 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-stdlib-unix |
||||
, alcotest |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-clic"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-stdlib-unix |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: library of auto-documented command-line-parsing combinators"; |
||||
}; |
||||
} |
@ -0,0 +1,38 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-clic |
||||
, tezos-rpc |
||||
, bls12-381 |
||||
, hacl-star |
||||
, secp256k1-internal |
||||
, uecc |
||||
, ringo |
||||
, ff |
||||
, alcotest |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-crypto"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-clic |
||||
tezos-rpc |
||||
bls12-381 |
||||
hacl-star |
||||
secp256k1-internal |
||||
uecc |
||||
ringo |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: library with all the cryptographic primitives used by Tezos"; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, data-encoding |
||||
, lwt |
||||
, lwt-canceler |
||||
, alcotest |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-error-monad"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-stdlib |
||||
data-encoding |
||||
lwt |
||||
lwt-canceler |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: error monad"; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-lwt-result-stdlib |
||||
, lwt_log |
||||
, alcotest |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-event-logging"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-lwt-result-stdlib |
||||
lwt_log |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: event logging library"; |
||||
}; |
||||
} |
@ -0,0 +1,51 @@ |
||||
{ lib |
||||
, fetchFromGitLab |
||||
, pkg-config |
||||
, buildDunePackage |
||||
, lmdb |
||||
, rresult |
||||
, cstruct |
||||
, alcotest |
||||
}: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "tezos-lmdb"; |
||||
version = "7.4"; |
||||
src = fetchFromGitLab { |
||||
owner = "tezos"; |
||||
repo = "tezos"; |
||||
rev = "v${version}"; |
||||
sha256 = "18q02j74aa8mxv233kvyb62xbhjngzpgppp6kgr4m53d7a78wgsm"; |
||||
}; |
||||
|
||||
useDune2 = true; |
||||
|
||||
preBuild = '' |
||||
rm dune |
||||
rm -rf src |
||||
rm -rf docs |
||||
ls vendors | grep -v ocaml-lmdb |xargs rm -rf |
||||
''; |
||||
|
||||
buildInputs = [ |
||||
pkg-config |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
rresult |
||||
lmdb |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
cstruct |
||||
alcotest |
||||
]; |
||||
|
||||
doCheck = false; |
||||
|
||||
meta = { |
||||
description = "Legacy Tezos OCaml binding to LMDB (Consider ocaml-lmdb instead)"; |
||||
license = lib.licenses.isc; |
||||
maintainers = [ lib.maintainers.ulrikstrid ]; |
||||
}; |
||||
} |
@ -0,0 +1,32 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, ocaml |
||||
, tezos-stdlib |
||||
, tezos-error-monad |
||||
, alcotest |
||||
, alcotest-lwt |
||||
, crowbar |
||||
}: |
||||
|
||||
if lib.versionAtLeast ocaml.version "4.12" then |
||||
throw "tezos-lwt-result-stdlib-${tezos-stdlib.version} is not available for OCaml > 4.10" |
||||
else |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-lwt-result-stdlib"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-error-monad |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
crowbar |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: error-aware stdlib replacement"; |
||||
}; |
||||
} |
@ -0,0 +1,28 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-error-monad |
||||
, uutf |
||||
, alcotest |
||||
, alcotest-lwt |
||||
, ppx_inline_test |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-micheline"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-error-monad |
||||
uutf |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: internal AST and parser for the Michelson language"; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-p2p-services"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-base |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: descriptions of RPCs exported by `tezos-p2p`"; |
||||
}; |
||||
} |
@ -0,0 +1,25 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-p2p-services |
||||
, alcotest-lwt |
||||
, lwt-watcher |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-p2p"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-p2p-services |
||||
lwt-watcher |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: library for a pool of P2P connections"; |
||||
}; |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-protocol-008-PtEdo2Zk |
||||
, qcheck-alcotest |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-008-PtEdo2Zk-parameters"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-protocol-008-PtEdo2Zk |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos/Protocol: parameters"; |
||||
}; |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-protocol-compiler |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-008-PtEdo2Zk"; |
||||
inherit (tezos-stdlib) version src useDune2 doCheck; |
||||
|
||||
preBuild = '' |
||||
rm -rf vendors |
||||
substituteInPlace src/proto_008_PtEdo2Zk/lib_protocol/dune.inc --replace "-nostdlib" "" |
||||
''; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-protocol-compiler |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos/Protocol: economic-protocol definition"; |
||||
}; |
||||
} |
@ -0,0 +1,29 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, ocaml |
||||
, tezos-stdlib |
||||
, tezos-protocol-environment |
||||
, ocp-ocamlres |
||||
, pprint |
||||
}: |
||||
|
||||
if lib.versionAtLeast ocaml.version "4.12" then |
||||
throw "tezos-protocol-compiler-${tezos-stdlib.version} is not available for OCaml > 4.10" |
||||
else |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-compiler"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
minimalOCamlVersion = "4.09"; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-protocol-environment |
||||
ocp-ocamlres |
||||
pprint |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: economic-protocol compiler"; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-protocol-compiler |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-demo-noops"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-protocol-compiler |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos/Protocol: demo_noops economic-protocol definition"; |
||||
}; |
||||
} |
@ -0,0 +1,15 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-environment-packer"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
minimalOCamlVersion = "4.03"; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: sigs/structs packer for economic protocol environment"; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, ocaml |
||||
, tezos-stdlib |
||||
, tezos-protocol-environment-packer |
||||
, zarith |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-environment-sigs"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-protocol-environment-packer |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
tezos-stdlib |
||||
]; |
||||
|
||||
postPatch = '' |
||||
cp -f ${zarith}/lib/ocaml/${ocaml.version}/site-lib/zarith/z.mli ./src/lib_protocol_environment/sigs/v1/z.mli |
||||
sed -i 's/out_channel/Stdlib.out_channel/g' ./src/lib_protocol_environment/sigs/v1/z.mli |
||||
sed -i 's/Buffer/Stdlib.Buffer/g' ./src/lib_protocol_environment/sigs/v1/z.mli |
||||
''; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: restricted typing environment for the economic protocols"; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-crypto |
||||
, tezos-protocol-environment-packer |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-environment-structs"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-crypto |
||||
tezos-protocol-environment-packer |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: restricted typing environment for the economic protocols"; |
||||
}; |
||||
} |
@ -0,0 +1,33 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
, tezos-sapling |
||||
, tezos-protocol-environment-sigs |
||||
, tezos-protocol-environment-structs |
||||
, zarith |
||||
, alcotest-lwt |
||||
, crowbar |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-protocol-environment"; |
||||
inherit (tezos-stdlib) version src useDune2 doCheck preBuild; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-sapling |
||||
tezos-base |
||||
tezos-protocol-environment-sigs |
||||
tezos-protocol-environment-structs |
||||
zarith # this might break, since they actually want 1.11 |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest-lwt |
||||
crowbar |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: custom economic-protocols environment implementation for `tezos-client` and testing"; |
||||
}; |
||||
} |
@ -0,0 +1,27 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
, tezos-test-services |
||||
, lwt-watcher |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-requester"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-base |
||||
lwt-watcher |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest-lwt |
||||
tezos-test-services |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: generic resource fetching service"; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-error-monad |
||||
, resto |
||||
, resto-directory |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-rpc"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-error-monad |
||||
resto |
||||
resto-directory |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: library of auto-documented RPCs (service and hierarchy descriptions)"; |
||||
}; |
||||
} |
@ -0,0 +1,31 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, ocaml |
||||
, tezos-stdlib |
||||
, tezos-crypto |
||||
, tezos-rust-libs |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-sapling"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-crypto |
||||
tezos-rust-libs |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
doCheck = false; |
||||
|
||||
# This is a hack to work around the hack used in the dune files |
||||
OPAM_SWITCH_PREFIX = "${tezos-rust-libs}"; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos/Protocol: economic-protocol definition"; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-workers |
||||
, tezos-p2p-services |
||||
, tezos-version |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-shell-services"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-workers |
||||
tezos-p2p-services |
||||
tezos-version |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: descriptions of RPCs exported by `tezos-shell`"; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-event-logging |
||||
, lwt |
||||
, ptime |
||||
, mtime |
||||
, ipaddr |
||||
, re |
||||
, alcotest |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-stdlib-unix"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-event-logging |
||||
lwt |
||||
ptime |
||||
mtime |
||||
ipaddr |
||||
re |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: yet-another local-extension of the OCaml standard library (unix-specific fragment)"; |
||||
}; |
||||
} |
@ -0,0 +1,53 @@ |
||||
{ lib |
||||
, fetchFromGitLab |
||||
, buildDunePackage |
||||
, hex |
||||
, lwt |
||||
, zarith |
||||
, alcotest |
||||
, alcotest-lwt |
||||
, crowbar |
||||
, bigstring |
||||
, lwt_log |
||||
}: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "tezos-stdlib"; |
||||
version = "8.3"; |
||||
src = fetchFromGitLab { |
||||
owner = "tezos"; |
||||
repo = "tezos"; |
||||
rev = "v${version}"; |
||||
sha256 = "12cv2cssnw60jbpnh6xjysxgsgcj7d72454k4zs2b8fjx7mkgksk"; |
||||
}; |
||||
|
||||
minimalOCamlVersion = "4.0.8"; |
||||
|
||||
useDune2 = true; |
||||
|
||||
preBuild = '' |
||||
rm -rf vendors |
||||
''; |
||||
|
||||
propagatedBuildInputs = [ |
||||
hex |
||||
lwt |
||||
zarith |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
alcotest |
||||
alcotest-lwt |
||||
crowbar |
||||
bigstring |
||||
lwt_log |
||||
]; |
||||
|
||||
doCheck = true; |
||||
|
||||
meta = { |
||||
description = "Tezos: yet-another local-extension of the OCaml standard library"; |
||||
license = lib.licenses.mit; |
||||
maintainers = [ lib.maintainers.ulrikstrid ]; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
, alcotest-lwt |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-test-services"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-base |
||||
alcotest-lwt |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: Alcotest-based test services"; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-version"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-base |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: version information generated from Git"; |
||||
}; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ lib |
||||
, buildDunePackage |
||||
, tezos-stdlib |
||||
, tezos-base |
||||
}: |
||||
|
||||
buildDunePackage { |
||||
pname = "tezos-workers"; |
||||
inherit (tezos-stdlib) version src useDune2 preBuild doCheck; |
||||
|
||||
propagatedBuildInputs = [ |
||||
tezos-base |
||||
]; |
||||
|
||||
meta = tezos-stdlib.meta // { |
||||
description = "Tezos: worker library"; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue