about summary refs log tree commit diff
path: root/pkgs/development/python-modules/langdetect
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2019-01-27 15:26:24 +0100
committerErik Arvstedt <erik.arvstedt@gmail.com>2019-04-29 11:41:42 +0200
commit72aec3e01c8f54bc0b976e41a696ff0d5a0d6f05 (patch)
tree32335097f7c8892e96fd17b542ca3d3695a8c707 /pkgs/development/python-modules/langdetect
parent071f3b34e62a7142cd3d3310af2ad7e11fe528d6 (diff)
pythonPackages.langdetect: init at 1.0.7
Diffstat (limited to 'pkgs/development/python-modules/langdetect')
-rw-r--r--pkgs/development/python-modules/langdetect/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/langdetect/default.nix b/pkgs/development/python-modules/langdetect/default.nix
new file mode 100644
index 0000000000000..dcd90dd89bdde
--- /dev/null
+++ b/pkgs/development/python-modules/langdetect/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildPythonPackage, fetchPypi, six }:
+
+buildPythonPackage rec {
+  pname = "langdetect";
+  version = "1.0.7";
+
+  src = fetchPypi {
+    inherit pname version;
+    extension = "zip";
+    sha256 = "0c5zm6c7xzsigbb9c7v4r33fcpz911zscfwvh3dq1qxdy3ap18ci";
+  };
+
+  propagatedBuildInputs = [ six ];
+
+  meta = with lib; {
+    description = "Python port of Google's language-detection library";
+    homepage = https://github.com/Mimino666/langdetect;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ earvstedt ];
+  };
+}