diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/liberasurecode/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/liberasurecode/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/liberasurecode/default.nix b/nixpkgs/pkgs/applications/misc/liberasurecode/default.nix new file mode 100644 index 000000000000..135ecf5ceb13 --- /dev/null +++ b/nixpkgs/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; + }; +} |