31 lines
671 B
Nix
31 lines
671 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
mmh3,
|
|
varint,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "imohash";
|
|
version = "1.0.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-1d2HRoRk/grQjwrJUqVFAgUbkR+7wrkQZu3AUz4N9jc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [mmh3 varint];
|
|
|
|
nativeBuildInputs = [setuptools];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "imohash is a fast, constant-time hashing library. It uses file size and sampling to calculate hashes quickly, regardless of file size.";
|
|
homepage = "https://github.com/kalafut/py-imohash";
|
|
maintainers = with maintainers; [];
|
|
};
|
|
}
|