Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "pytankerkoenig"; 8 version = "0.0.7"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "021fg1a4n3527fz86zxfbsi0jrk0dnai1y92q6hwh5za68lrs710"; 13 }; 14 15 # Tests require an API key and network access 16 doCheck = false; 17 pythonImportsCheck = [ "pytankerkoenig" ]; 18 19 meta = with lib; { 20 description = "Python module to get fuel data from tankerkoenig.de"; 21 homepage = "https://github.com/ultrara1n/pytankerkoenig"; 22 license = with licenses; [ mit ]; 23 maintainers = with maintainers; [ fab ]; 24 }; 25}