nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 640 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "httpagentparser"; 9 version = "1.9.5"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-U879nWWZD2/lnAN4ytjqG53493DS6L2dh2LtrgM76Ao="; 15 }; 16 17 # PyPi version does not include test directory 18 doCheck = false; 19 20 pythonImportsCheck = [ "httpagentparser" ]; 21 22 meta = { 23 description = "Module to extract OS, Browser, etc. information from http user agent string"; 24 homepage = "https://github.com/shon/httpagentparser"; 25 license = lib.licenses.mit; 26 maintainers = with lib.maintainers; [ gador ]; 27 }; 28}