about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/li/libbfio/package.nix
blob: ccc4c640677ca77fc9ed4dfee93826e6fa5a1908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, fetchzip
, fetchpatch
, 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;
  };
})