Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 590 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pyyaml }: 2 3buildPythonPackage rec { 4 pname = "ua-parser"; 5 version = "0.9.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1qpw1jdm8bp09jwjp8r38rr7rd2jy4k2if798cax3wylphm285xy"; 10 }; 11 12 buildInputs = [ pyyaml ]; 13 14 doCheck = false; # requires files from uap-core 15 16 meta = with stdenv.lib; { 17 description = "A python implementation of the UA Parser"; 18 homepage = https://github.com/ua-parser/uap-python; 19 license = licenses.asl20; 20 platforms = platforms.unix; 21 maintainers = with maintainers; [ dotlambda ]; 22 }; 23}