depot/third_party/nixpkgs/pkgs/development/python-modules/miniful/default.nix

38 lines
675 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
scipy,
pythonOlder,
}:
buildPythonPackage rec {
pname = "miniful";
version = "0.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZCyfNrh8gbPvwplHN5tbmbjTMYXJBKe8Mg2JqOGHFCk=";
};
propagatedBuildInputs = [
numpy
scipy
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "miniful" ];
meta = with lib; {
description = "Minimal Fuzzy Library";
homepage = "https://github.com/aresio/miniful";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}