diff options
Diffstat (limited to 'pkgs/development/python-modules/cld2-cffi/default.nix')
-rw-r--r-- | pkgs/development/python-modules/cld2-cffi/default.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/cld2-cffi/default.nix b/pkgs/development/python-modules/cld2-cffi/default.nix deleted file mode 100644 index 876a6f4492f6e..0000000000000 --- a/pkgs/development/python-modules/cld2-cffi/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, buildPythonPackage, fetchPypi, six, cffi, nose }: - -buildPythonPackage rec { - pname = "cld2-cffi"; - version = "0.1.4"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - sha256 = "0rvcdx4fdh5yk4d2nlddq1q1r2r0xqp86hpmbdn447pdcj1r8a9s"; - }; - - propagatedBuildInputs = [ six cffi ]; - nativeCheckInputs = [ nose ]; - - # gcc doesn't approve of this code, so disable -Werror - env.NIX_CFLAGS_COMPILE = "-w" + lib.optionalString stdenv.cc.isClang " -Wno-error=c++11-narrowing"; - - checkPhase = "nosetests -v"; - - meta = with lib; { - description = "CFFI bindings around Google Chromium's embedded compact language detection library (CLD2)"; - homepage = "https://github.com/GregBowyer/cld2-cffi"; - license = licenses.asl20; - }; -} |