Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "minimal-snowplow-tracker"; 10 version = "0.0.2"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-rKv3Vy2w5/XL9pg9SV7vVAgfcb45IzDrOq25zLOdqqQ="; 16 }; 17 18 propagatedBuildInputs = [ 19 requests 20 six 21 ]; 22 23 # has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ 27 "snowplow_tracker" 28 ]; 29 30 meta = with lib; { 31 description = "Minimal snowplow event tracker"; 32 homepage = "https://github.com/dbt-labs/snowplow-python-tracker"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ mausch tjni ]; 35 }; 36}