nixpkgs/pkgs/tools/filesystems/ssdfs-utils/default.nix
2024-09-07 13:49:16 +00:00

48 lines
953 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, libtool
, libuuid
, zlib
}:
stdenv.mkDerivation {
# The files and commit messages in the repository refer to the package
# as ssdfs-utils, not ssdfs-tools.
pname = "ssdfs-utils";
# The version is taken from `configure.ac`, there are no tags.
version = "4.43";
src = fetchFromGitHub {
owner = "dubeyko";
repo = "ssdfs-tools";
rev = "cb0b3d8a01eb2c27d3bf59de6313d14fc7d3b6ac";
hash = "sha256-LDxL0+IkQ6sgkFjbiUwB416ZjQGA3JV05o6D6ibAHJE=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
libtool
libuuid
zlib
];
passthru = {
updateScript = ./update.sh;
};
meta = with lib; {
description = "SSDFS file system utilities";
homepage = "https://github.com/dubeyko/ssdfs-tools";
license = licenses.bsd3Clear;
maintainers = with maintainers; [ ners ];
platforms = platforms.linux;
};
}