2018-01-13 22:01:06 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ua-parser";
|
2020-03-09 16:49:23 +00:00
|
|
|
version = "0.10.0";
|
2018-01-13 22:01:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-09 16:49:23 +00:00
|
|
|
sha256 = "0csh307zfz666kkk5idrw3crj1x8q8vsqgwqil0r1n1hs4p7ica7";
|
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";
|
2020-03-09 16:49:23 +00:00
|
|
|
homepage = "https://github.com/ua-parser/uap-python";
|
2018-01-13 22:01:06 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|