depot/third_party/nixpkgs/pkgs/development/python-modules/ua-parser/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
583 B
Nix

{ lib, buildPythonPackage, fetchPypi, pyyaml }:
buildPythonPackage rec {
pname = "ua-parser";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "0csh307zfz666kkk5idrw3crj1x8q8vsqgwqil0r1n1hs4p7ica7";
};
buildInputs = [ pyyaml ];
doCheck = false; # requires files from uap-core
meta = with 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 ];
};
}