diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-17 00:41:21 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-10-18 11:02:23 +0200 |
commit | f2329dc489c035eea5a5ccde79c3c497505923af (patch) | |
tree | 2f2dd0903779b77dd55bbf9ef48a6b6edc5bb488 /pkgs/development/python-modules | |
parent | 05fb6b5dee0cae322c46d4b4fc52b5d328025085 (diff) | |
download | nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar.gz nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar.bz2 nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar.lz nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar.xz nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.tar.zst nixlib-f2329dc489c035eea5a5ccde79c3c497505923af.zip |
pythonPackages.MySQL_python: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/mysql_python/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mysql_python/default.nix b/pkgs/development/python-modules/mysql_python/default.nix new file mode 100644 index 000000000000..a38f7e02e1cd --- /dev/null +++ b/pkgs/development/python-modules/mysql_python/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, isPy3k +, fetchPypi +, nose +, pkgs +}: + +buildPythonPackage rec { + pname = "MySQL-python"; + version = "1.2.5"; + disabled = isPy3k; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "0x0c2jg0bb3pp84njaqiic050qkyd7ymwhfvhipnimg58yv40441"; + }; + + buildInputs = [ nose ]; + propagatedBuildInputs = [ pkgs.mysql.connector-c ]; + + # plenty of failing tests + doCheck = false; + + meta = with stdenv.lib; { + description = "MySQL database binding for Python"; + homepage = https://sourceforge.net/projects/mysql-python; + license = licenses.gpl3; + }; + +} |