mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 15:27:50 +00:00
Merge pull request #231546 from KAction/contrib/0/aiosql-new/out
This commit is contained in:
commit
c1d02f5d57
40
pkgs/development/python-modules/aiosql/default.nix
Normal file
40
pkgs/development/python-modules/aiosql/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -326,6 +326,8 @@ self: super: with self; {
|
||||
|
||||
aiosasl = callPackage ../development/python-modules/aiosasl { };
|
||||
|
||||
aiosql = callPackage ../development/python-modules/aiosql { };
|
||||
|
||||
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
|
||||
|
||||
aiosenz = callPackage ../development/python-modules/aiosenz { };
|
||||
|
Loading…
Reference in New Issue
Block a user