Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
740 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, click, pycryptodome, requests, tzlocal}:
buildPythonPackage rec { pname = "micloud"; version = "0.6"; format = "setuptools";
src = fetchFromGitHub { owner = "Squachen"; repo = "micloud"; rev = "v_${version}"; hash = "sha256-IsNXFs1N+rKwqve2Pjp+wRTZCxHF4acEo6KyhsSKuqI="; };
propagatedBuildInputs = [ click pycryptodome requests tzlocal ];
# tests require credentials doCheck = false;
pythonImportsCheck = [ "micloud" ];
meta = with lib; { description = "Xiaomi cloud connect library"; homepage = "https://github.com/Squachen/micloud"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };}