2023-05-22 13:05:02 +00:00
|
|
|
{ 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.
|
2023-06-15 11:38:28 +00:00
|
|
|
version = "4.27";
|
2023-05-22 13:05:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dubeyko";
|
|
|
|
repo = "ssdfs-tools";
|
2023-06-15 11:38:28 +00:00
|
|
|
rev = "9b647d73b34dc2e18ed04bfcf5e260ffb8242dd5";
|
|
|
|
hash = "sha256-7I7h6Szb/oXtkypd7Nk4AFrTEsn9Y/1/u+IaL63zRVI=";
|
2023-05-22 13:05:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|