Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
882 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, requests, requests-mock}:
buildPythonPackage rec { pname = "losant-rest"; version = "1.17.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "Losant"; repo = "losant-rest-python"; rev = "v${version}"; hash = "sha256-/7k2IYoP4z9ub89wNzDfzyA520CNzn3L68yMWgApz34="; };
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [ pytestCheckHook requests-mock ];
pytestFlagsArray = [ "tests/losantrest_tests.py" ];
pythonImportsCheck = [ "losantrest" ];
meta = with lib; { description = "Python module for consuming the Losant IoT Platform API"; homepage = "https://github.com/Losant/losant-rest-python"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}