nixpkgs-suyu/pkgs/development/python-modules/aiosql/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
800 B
Nix
Raw Normal View History

2023-05-13 00:29:14 +02:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, sphinxHook
, sphinx-rtd-theme
}:
buildPythonPackage rec {
pname = "aiosql";
version = "8.0";
outputs = [ "out" "doc" ];
format = "pyproject";
src = fetchFromGitHub {
owner = "nackjicholson";
repo = "aiosql";
rev = "refs/tags/${version}";
hash = "sha256-cE89w1CbDqlkryRr3yAdSxAtWzV1+O+n41ihTwYWelE=";
};
sphinxRoot = "docs/source";
nativeBuildInputs = [
pytestCheckHook
sphinxHook
poetry-core
sphinx-rtd-theme
];
pythonImportsCheck = [ "aiosql" ];
meta = with lib; {
description = "Simple SQL in Python";
homepage = "https://nackjicholson.github.io/aiosql/";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ kaction ];
};
}