1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/mysqlclient/default.nix
2018-07-22 16:52:46 +02:00

26 lines
577 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, mysql }:
buildPythonPackage rec {
pname = "mysqlclient";
version = "1.3.13";
buildInputs = [
mysql.connector-c
];
# Tests need a MySQL database
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "ff8ee1be84215e6c30a746b728c41eb0701a46ca76e343af445b35ce6250644f";
};
meta = with stdenv.lib; {
description = "Python interface to MySQL";
homepage = "https://github.com/PyMySQL/mysqlclient-python";
license = licenses.gpl1;
maintainers = with maintainers; [ y0no ];
};
}