94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
39 lines
673 B
Nix
39 lines
673 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 ];
|
|
};
|
|
}
|