diff --git a/pkgs/development/libraries/libzra/default.nix b/pkgs/development/libraries/libzra/default.nix new file mode 100644 index 000000000000..b5fe6e593566 --- /dev/null +++ b/pkgs/development/libraries/libzra/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "libzra"; + version = "unstable-2020-08-10"; + + src = fetchFromGitHub { + owner = "zraorg"; + repo = "zra"; + rev = "e678980ae7e79efd716b4a6610fe9f148425fd6b"; + sha256 = "132xyzhadahm01nas8gycjza5hs839fnpsh73im2a7wwfdw76z4h"; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/zraorg/ZRA"; + description = "Library for ZStandard random access"; + platforms = platforms.all; + maintainers = [ maintainers.ivar ]; + license = licenses.bsd3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d1cb16dedad3..25adca6946e4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16629,6 +16629,8 @@ in zmqpp = callPackage ../development/libraries/zmqpp { }; + libzra = callPackage ../development/libraries/libzra { }; + zig = callPackage ../development/compilers/zig { llvmPackages = llvmPackages_10; };