python310Packages.quantulum3: init at 0.9.0
This commit is contained in:
parent
e422f19d9d
commit
93681ae822
53
pkgs/development/python-modules/quantulum3/default.nix
Normal file
53
pkgs/development/python-modules/quantulum3/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, fetchFromGitHub
|
||||
# build inputs
|
||||
, inflect
|
||||
, num2words
|
||||
, numpy
|
||||
, scipy
|
||||
, scikit-learn
|
||||
, joblib
|
||||
, wikipedia
|
||||
, stemming
|
||||
}:
|
||||
let
|
||||
pname = "quantulum3";
|
||||
version = "0.9.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit version pname;
|
||||
format = "pyproject";
|
||||
|
||||
# Pypi source package doesn't contain tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "nielstron";
|
||||
repo = pname;
|
||||
rev = "9dafd76d3586aa5ea1b96164d86c73037e827294";
|
||||
hash = "sha256-fHztPeTbMp1aYsj+STYWzHgwdY0Q9078qXpXxtA8pPs=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
inflect
|
||||
num2words
|
||||
numpy
|
||||
scipy
|
||||
scikit-learn
|
||||
joblib
|
||||
wikipedia
|
||||
stemming
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "quantulum3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for unit extraction - fork of quantulum for python3";
|
||||
homepage = "https://github.com/nielstron/quantulum3";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
@ -10568,6 +10568,8 @@ self: super: with self; {
|
||||
|
||||
quantum-gateway = callPackage ../development/python-modules/quantum-gateway { };
|
||||
|
||||
quantulum3 = callPackage ../development/python-modules/quantulum3 { };
|
||||
|
||||
quart = callPackage ../development/python-modules/quart { };
|
||||
|
||||
quart-cors = callPackage ../development/python-modules/quart-cors { };
|
||||
|
Loading…
Reference in New Issue
Block a user