diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-27 09:54:35 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-30 00:50:46 -0400 |
commit | 77df3ef7a730bd4727e938665c4bedb42108be2e (patch) | |
tree | 2c503bbdad92e8ea6b811924d0bc9296ed96eda9 /pkgs/development/python-modules/semantic/default.nix | |
parent | 85e217500edc6ca69643958f6deef6eb9cd7f63e (diff) |
pythonPackages.semantic: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/semantic/default.nix')
-rw-r--r-- | pkgs/development/python-modules/semantic/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/semantic/default.nix b/pkgs/development/python-modules/semantic/default.nix new file mode 100644 index 0000000000000..b5855fbb143dc --- /dev/null +++ b/pkgs/development/python-modules/semantic/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, 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; + + meta = with stdenv.lib; { + description = "Common Natural Language Processing Tasks for Python"; + homepage = https://github.com/crm416/semantic; + license = licenses.mit; + }; + +} |