2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pyyaml }:
|
2018-01-13 22:01:06 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-13 22:01:06 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|