depot/third_party/nixpkgs/pkgs/by-name/li/libbfio/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
753 B
Nix

{ lib
, fetchzip
, stdenv
, gettext
, libtool
, pkg-config
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libbfio";
version = "20221025";
src = fetchzip {
url = "https://github.com/libyal/libbfio/releases/download/${finalAttrs.version}/libbfio-alpha-${finalAttrs.version}.tar.gz";
hash = "sha256-SwKQlmifyUo49yvo8RV+0nfvScPY5u+UrwjRZK2+qAg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gettext libtool ];
meta = {
description = "Library to provide basic file input/output abstraction";
homepage = "https://github.com/libyal/libbfio";
license = with lib.licenses; [ gpl3Plus lgpl3Plus ];
maintainers = with lib.maintainers; [ d3vil0p3r ];
platforms = with lib.platforms; unix ++ windows;
};
})