2018-01-13 22:01:06 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ua-parser";
|
2020-02-09 18:55:54 +00:00
|
|
|
version = "0.9.0";
|
2018-01-13 22:01:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-09 18:55:54 +00:00
|
|
|
sha256 = "1qpw1jdm8bp09jwjp8r38rr7rd2jy4k2if798cax3wylphm285xy";
|
2018-01-13 22:01:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|