about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/fatcat/default.nix
blob: d5caaea08a4b8994733ba625e2b23f865ba47648 (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
30
31
32
33
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gitUpdater
}:

stdenv.mkDerivation rec {
  pname = "fatcat";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "Gregwar";
    repo = "fatcat";
    rev = "v${version}";
    hash = "sha256-/iGNVP7Bz/UZAR+dFxAKMKM9jm07h0x0F3VGpdxlHdk=";
  };

  nativeBuildInputs = [
    cmake
  ];

  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
  };

  meta = with lib; {
    description = "FAT filesystems explore, extract, repair, and forensic tool";
    homepage = "https://github.com/Gregwar/fatcat";
    license = licenses.mit;
    maintainers = with maintainers; [ cynerd ];
  };
}