nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 pkg-config,
7 fuse,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "exfat";
12 version = "1.4.0";
13
14 src = fetchFromGitHub {
15 owner = "relan";
16 repo = "exfat";
17 rev = "v${version}";
18 sha256 = "sha256-5m8fiItEOO6piR132Gxq6SHOPN1rAFTuTVE+UI0V00k=";
19 };
20
21 nativeBuildInputs = [
22 autoreconfHook
23 pkg-config
24 ];
25 buildInputs = [ fuse ];
26
27 outputs = [
28 "out"
29 "man"
30 ];
31
32 meta = {
33 description = "Free exFAT file system implementation";
34 inherit (src.meta) homepage;
35 license = lib.licenses.gpl2Plus;
36 maintainers = with lib.maintainers; [ dywedir ];
37 platforms = lib.platforms.unix;
38 };
39}