nixpkgs/pkgs/development/python-modules/ua-parser/default.nix

24 lines
583 B
Nix
Raw Normal View History

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