mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
0215034f25
when they already rely on SRI hashes.
30 lines
610 B
Nix
30 lines
610 B
Nix
{ lib, buildPythonPackage, fetchPypi, libmysqlclient }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mysqlclient";
|
|
version = "2.1.1";
|
|
|
|
nativeBuildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
buildInputs = [
|
|
libmysqlclient
|
|
];
|
|
|
|
# Tests need a MySQL database
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-godX5Bn7Ed1sXtJXbsksPvqpOg98OeJjWG0e53nD14I=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Python interface to MySQL";
|
|
homepage = "https://github.com/PyMySQL/mysqlclient-python";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ y0no ];
|
|
};
|
|
}
|