Loading pkgs/development/python-modules/aiosql/default.nix +26 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pg8000 , pytest-asyncio , pytestCheckHook , sphinxHook , pythonOlder , setuptools , setuptools-scm , sphinx-rtd-theme , sphinxHook }: buildPythonPackage rec { pname = "aiosql"; version = "9.0"; outputs = [ "out" "doc" ]; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.8"; outputs = [ "doc" "out" ]; src = fetchFromGitHub { owner = "nackjicholson"; Loading @@ -23,17 +33,25 @@ buildPythonPackage rec { sphinxRoot = "docs/source"; nativeBuildInputs = [ pytestCheckHook sphinxHook poetry-core setuptools setuptools-scm sphinx-rtd-theme sphinxHook ]; propagatedBuildInputs = [ pg8000 ]; pythonImportsCheck = [ "aiosql" ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; meta = with lib; { description = "Simple SQL in Python"; homepage = "https://nackjicholson.github.io/aiosql/"; changelog = "https://github.com/nackjicholson/aiosql/releases/tag/${version}"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ kaction ]; }; Loading Loading
pkgs/development/python-modules/aiosql/default.nix +26 −8 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pg8000 , pytest-asyncio , pytestCheckHook , sphinxHook , pythonOlder , setuptools , setuptools-scm , sphinx-rtd-theme , sphinxHook }: buildPythonPackage rec { pname = "aiosql"; version = "9.0"; outputs = [ "out" "doc" ]; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.8"; outputs = [ "doc" "out" ]; src = fetchFromGitHub { owner = "nackjicholson"; Loading @@ -23,17 +33,25 @@ buildPythonPackage rec { sphinxRoot = "docs/source"; nativeBuildInputs = [ pytestCheckHook sphinxHook poetry-core setuptools setuptools-scm sphinx-rtd-theme sphinxHook ]; propagatedBuildInputs = [ pg8000 ]; pythonImportsCheck = [ "aiosql" ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; meta = with lib; { description = "Simple SQL in Python"; homepage = "https://nackjicholson.github.io/aiosql/"; changelog = "https://github.com/nackjicholson/aiosql/releases/tag/${version}"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ kaction ]; }; Loading