Merge pull request #150004 from VergeDX/mariadb
python3Packages.mariadb: init at 1.0.9
This commit is contained in:
commit
14dd91f8d1
30
pkgs/development/python-modules/mariadb/default.nix
Normal file
30
pkgs/development/python-modules/mariadb/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ buildPythonPackage, fetchPypi, libmysqlclient, lib, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mariadb";
|
||||
version = "1.0.9";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Aqmz0KB26aDQ6hxItF7Qm2R14rak6Mge2fHoLK87/Ck=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
libmysqlclient
|
||||
];
|
||||
|
||||
# Requires a running MariaDB instance
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "mariadb" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MariaDB Connector/Python";
|
||||
homepage = "https://github.com/mariadb-corporation/mariadb-connector-python";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ vanilla ];
|
||||
};
|
||||
}
|
@ -4739,6 +4739,8 @@ in {
|
||||
|
||||
mapbox = callPackage ../development/python-modules/mapbox { };
|
||||
|
||||
mariadb = callPackage ../development/python-modules/mariadb { };
|
||||
|
||||
marisa-trie = callPackage ../development/python-modules/marisa-trie { };
|
||||
|
||||
markdown2 = callPackage ../development/python-modules/markdown2 { };
|
||||
|
Loading…
Reference in New Issue
Block a user