From 42cf1c99fe8be3daa83b52e2a996f21b010dc7c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 7 Oct 2021 16:51:54 +0200 Subject: [PATCH] liberasurecode: ini at 1.6.2 --- .../misc/liberasurecode/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/liberasurecode/default.nix diff --git a/pkgs/applications/misc/liberasurecode/default.nix b/pkgs/applications/misc/liberasurecode/default.nix new file mode 100644 index 000000000000..135ecf5ceb13 --- /dev/null +++ b/pkgs/applications/misc/liberasurecode/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, zlib }: + +stdenv.mkDerivation rec { + pname = "liberasurecode"; + version = "1.6.2"; + + outputs = [ "out" "dev" ]; + + src = fetchFromGitHub { + owner = "openstack"; + repo = pname; + rev = version; + sha256 = "sha256-qV7DL/7zrwrYOaPj6iHnChGA6KHFwYKjeaMnrGrTPrQ="; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ zlib ]; + + meta = with lib; { + description = "Erasure Code API library written in C with pluggable Erasure Code backends"; + homepage = "https://github.com/openstack/liberasurecode"; + license = licenses.bsd2; + maintainers = teams.openstack.members; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9f47f9875b49..c5a545bc3ac3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15739,6 +15739,8 @@ with pkgs; libesmtp = callPackage ../development/libraries/libesmtp { }; + liberasurecode = callPackage ../applications/misc/liberasurecode { }; + exiv2 = callPackage ../development/libraries/exiv2 { }; expat = callPackage ../development/libraries/expat { };