Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
993 B · 51 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, aiohttp, async-timeout, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "py-synologydsm-api"; version = "2.3.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "mib1185"; repo = "py-synologydsm-api"; rev = "refs/tags/v${version}"; hash = "sha256-lSNdwM+b91XWILKjGsi73Tu29spOdnFznuE7ELg+mhw="; };
nativeBuildInputs = [ poetry-core setuptools ];
propagatedBuildInputs = [ aiohttp async-timeout ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "synology_dsm" ];
meta = with lib; { description = "Python API for Synology DSM"; homepage = "https://github.com/mib1185/py-synologydsm-api"; changelog = "https://github.com/mib1185/py-synologydsm-api/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ uvnikita ]; };}