Loading pkgs/development/python-modules/aria2p/default.nix +12 −5 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, Loading @@ -19,12 +20,15 @@ pytestCheckHook, responses, uvicorn, withTui ? true, }: buildPythonPackage rec { pname = "aria2p"; version = "0.12.1"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { Loading @@ -43,7 +47,7 @@ buildPythonPackage rec { setuptools # for pkg_resources toml websocket-client ]; ] ++ lib.optionals withTui optional-dependencies.tui; optional-dependencies = { tui = [ Loading Loading @@ -79,12 +83,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "aria2p" ]; meta = with lib; { meta = { homepage = "https://github.com/pawamoy/aria2p"; changelog = "https://github.com/pawamoy/aria2p/blob/${src.tag}/CHANGELOG.md"; description = "Command-line tool and library to interact with an aria2c daemon process with JSON-RPC"; mainProgram = "aria2p"; license = licenses.isc; maintainers = with maintainers; [ koral ]; license = lib.licenses.isc; maintainers = with lib.maintainers; [ koral ]; badPlatforms = [ lib.systems.inspect.patterns.isDarwin ]; }; } Loading
pkgs/development/python-modules/aria2p/default.nix +12 −5 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, Loading @@ -19,12 +20,15 @@ pytestCheckHook, responses, uvicorn, withTui ? true, }: buildPythonPackage rec { pname = "aria2p"; version = "0.12.1"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { Loading @@ -43,7 +47,7 @@ buildPythonPackage rec { setuptools # for pkg_resources toml websocket-client ]; ] ++ lib.optionals withTui optional-dependencies.tui; optional-dependencies = { tui = [ Loading Loading @@ -79,12 +83,15 @@ buildPythonPackage rec { pythonImportsCheck = [ "aria2p" ]; meta = with lib; { meta = { homepage = "https://github.com/pawamoy/aria2p"; changelog = "https://github.com/pawamoy/aria2p/blob/${src.tag}/CHANGELOG.md"; description = "Command-line tool and library to interact with an aria2c daemon process with JSON-RPC"; mainProgram = "aria2p"; license = licenses.isc; maintainers = with maintainers; [ koral ]; license = lib.licenses.isc; maintainers = with lib.maintainers; [ koral ]; badPlatforms = [ lib.systems.inspect.patterns.isDarwin ]; }; }