mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 17:46:38 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
731 B
Nix
36 lines
731 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
sqlalchemy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sqlalchemy-cockroachdb";
|
|
version = "2.0.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "sqlalchemy_cockroachdb";
|
|
inherit version;
|
|
hash = "sha256-SLdj/9iypNydVkWZNKVtfV/61BXG5o0RS67l0Sz3nB0=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = [
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [ "sqlalchemy_cockroachdb" ];
|
|
|
|
meta = {
|
|
description = "CockroachDB dialect for SQLAlchemy";
|
|
homepage = "https://github.com/cockroachdb/sqlalchemy-cockroachdb/tree/master/sqlalchemy_cockroachdb";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ pinpox ];
|
|
};
|
|
}
|