mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
22a216849b
This reverts commit f8a8fc6c7c
.
30 lines
619 B
Nix
30 lines
619 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, libmysqlclient }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mysqlclient";
|
|
version = "1.4.4";
|
|
|
|
nativeBuildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
buildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
# Tests need a MySQL database
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1379hab7spjp9v5fypqgy0b8vr8vnalxahm9hcsxvj2xbb2pqwww";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python interface to MySQL";
|
|
homepage = "https://github.com/PyMySQL/mysqlclient-python";
|
|
license = licenses.gpl1;
|
|
maintainers = with maintainers; [ y0no ];
|
|
};
|
|
}
|