depot/third_party/nixpkgs/pkgs/development/python-modules/semantic/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
609 B
Nix

{ lib
, 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 lib; {
description = "Common Natural Language Processing Tasks for Python";
homepage = "https://github.com/crm416/semantic";
license = licenses.mit;
};
}