nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 698 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6}: 7 8buildPythonPackage rec { 9 pname = "oasatelematics"; 10 version = "0.3"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "panosmz"; 15 repo = "oasatelematics"; 16 rev = "v${version}"; 17 hash = "sha256-3O7XbNVj1S3ZwheklEhm0ivw16Tj7drML/xYC9383Kg="; 18 }; 19 20 propagatedBuildInputs = [ requests ]; 21 22 # Module has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "oasatelematics" ]; 26 27 meta = { 28 description = "Python wrapper for the OASA Telematics API"; 29 homepage = "https://github.com/panosmz/oasatelematics"; 30 license = lib.licenses.gpl3Only; 31 maintainers = with lib.maintainers; [ fab ]; 32 }; 33}