depot/third_party/nixpkgs/pkgs/development/tools/fatcat/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

33 lines
637 B
Nix

{ 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 ];
};
}