uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
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.11";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-dpFsiSvJNsWw824loUEfZRp7fOl4mSrjqN5+KD79rL8=";
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue