1 { lib, stdenv, fetchurl, perl }:
3 # The homepage says this script is mature..
4 stdenv.mkDerivation rec {
9 url = "http://ftp.plusline.de/ftp.postgresql.org/projects/gborg/mysql2psql/devel/mysql2psql-${version}.tgz";
10 sha256 = "0dpbxf3kdvpihz9cisx6wi3zzd0cnifaqvjxavrbwm4k4sz1qamp";
13 buildInputs = [ perl ];
17 mv {,$out/bin/}mysql2psql
21 description = "Convert MySQL dump files to PostgreSQL-loadable files";
22 homepage = "https://pgfoundry.org/projects/mysql2pgsql/";
23 license = lib.licenses.bsdOriginal;
24 mainProgram = "mysql2psql";
25 platforms = lib.platforms.unix;