1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/python-modules/mysqlclient/default.nix
2020-08-16 19:31:08 +02:00

30 lines
631 B
Nix

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