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