summary refs log tree commit diff
path: root/pkgs/development/python-modules/semantic/default.nix
blob: f0371f860cf564c7d3d61bc076d4682c827a101b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
  };

}