mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
30 lines
631 B
Nix
30 lines
631 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, libmysqlclient }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mysqlclient";
|
|
version = "1.4.5";
|
|
|
|
nativeBuildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
buildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
# Tests need a MySQL database
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e80109b0ae8d952b900b31b623181532e5e89376d707dcbeb63f99e69cefe559";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python interface to MySQL";
|
|
homepage = "https://github.com/PyMySQL/mysqlclient-python";
|
|
license = licenses.gpl1;
|
|
maintainers = with maintainers; [ y0no ];
|
|
};
|
|
}
|