summary refs log tree commit diff
path: root/pkgs/development/python-modules/ua-parser
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-01-13 23:01:06 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-01-14 14:10:01 +0100
commit9121a973667a407be156fafa95f0fc59927624ef (patch)
treed101627fb4641ae97636e22b3785854fa096193e /pkgs/development/python-modules/ua-parser
parent3eb0ddcfc41fb88b8570919b90ed8851700238a2 (diff)
downloadnixlib-9121a973667a407be156fafa95f0fc59927624ef.tar
nixlib-9121a973667a407be156fafa95f0fc59927624ef.tar.gz
nixlib-9121a973667a407be156fafa95f0fc59927624ef.tar.bz2
nixlib-9121a973667a407be156fafa95f0fc59927624ef.tar.lz
nixlib-9121a973667a407be156fafa95f0fc59927624ef.tar.xz
nixlib-9121a973667a407be156fafa95f0fc59927624ef.tar.zst
nixlib-9121a973667a407be156fafa95f0fc59927624ef.zip
pythonPackages.user-agents: init at 1.1.0
Diffstat (limited to 'pkgs/development/python-modules/ua-parser')
-rw-r--r--pkgs/development/python-modules/ua-parser/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ua-parser/default.nix b/pkgs/development/python-modules/ua-parser/default.nix
new file mode 100644
index 000000000000..1b397f6c7379
--- /dev/null
+++ b/pkgs/development/python-modules/ua-parser/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
+
+buildPythonPackage rec {
+  pname = "ua-parser";
+  version = "0.7.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1p8siba0rnb5nsl354fd5fc4751d5ybw7hgnd56yn8dncxdb1bqa";
+  };
+
+  buildInputs = [ pyyaml ];
+
+  doCheck = false; # requires files from uap-core
+
+  meta = with stdenv.lib; {
+    description = "A python implementation of the UA Parser";
+    homepage = https://github.com/ua-parser/uap-python;
+    license = licenses.asl20;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}