about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ua-parser/default.nix
blob: cd004c59d4a45834bc341a1a276c5d147dfe051b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:

buildPythonPackage rec {
  pname = "ua-parser";
  version = "0.8.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "97bbcfc9321a3151d96bb5d62e54270247b0e3be0590a6f2ff12329851718dcb";
  };

  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 ];
  };
}