pythonPackages.semantic: refactor move to python-modules
This commit is contained in:
parent
85e217500e
commit
77df3ef7a7
30
pkgs/development/python-modules/semantic/default.nix
Normal file
30
pkgs/development/python-modules/semantic/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3819,27 +3819,7 @@ in {
|
|||||||
|
|
||||||
secretstorage = callPackage ../development/python-modules/secretstorage { };
|
secretstorage = callPackage ../development/python-modules/secretstorage { };
|
||||||
|
|
||||||
semantic = buildPythonPackage rec {
|
semantic = callPackage ../development/python-modules/semantic { };
|
||||||
name = "semantic-1.0.3";
|
|
||||||
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ quantities numpy ];
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/s/semantic/semantic-1.0.3.tar.gz";
|
|
||||||
sha256 = "bbc47dad03dddb1ba5895612fdfa1e43cfb3c497534976cebacd4f3684b505b4";
|
|
||||||
};
|
|
||||||
|
|
||||||
# strange setuptools error (can not import semantic.test)
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with pkgs.stdenv.lib; {
|
|
||||||
description = "Common Natural Language Processing Tasks for Python";
|
|
||||||
homepage = https://github.com/crm416/semantic;
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
sandboxlib = buildPythonPackage rec {
|
sandboxlib = buildPythonPackage rec {
|
||||||
name = "sandboxlib-${version}";
|
name = "sandboxlib-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user