Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
969 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pyopenssl, pythonOlder, requests,}:
buildPythonPackage rec { pname = "netio"; version = "1.0.13"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "netioproducts"; repo = "PyNetio"; tag = "v${version}"; hash = "sha256-s/X2WGhQXYsbo+ZPpkVSF/vclaThYYNHu0UY0yCnfPA="; };
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "pyopenssl" ];
propagatedBuildInputs = [ requests pyopenssl ];
pythonImportsCheck = [ "Netio" ];
# Module has no tests doCheck = false;
meta = with lib; { description = "Module for interacting with NETIO devices"; mainProgram = "Netio"; homepage = "https://github.com/netioproducts/PyNetio"; changelog = "https://github.com/netioproducts/PyNetio/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}