2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-27 14:54:35 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, quantities
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "semantic";
|
|
|
|
version = "1.0.3";
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "bbc47dad03dddb1ba5895612fdfa1e43cfb3c497534976cebacd4f3684b505b4";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ quantities numpy ];
|
|
|
|
|
|
|
|
# strange setuptools error (can not import semantic.test)
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 14:54:35 +01:00
|
|
|
description = "Common Natural Language Processing Tasks for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/crm416/semantic";
|
2018-10-27 14:54:35 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|