diff --git a/pkgs/applications/misc/sequelpro/default.nix b/pkgs/applications/misc/sequelpro/default.nix new file mode 100644 index 000000000000..4908769bef6e --- /dev/null +++ b/pkgs/applications/misc/sequelpro/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, undmg }: + +stdenv.mkDerivation rec { + name = "sequel-pro-${version}"; + version = "1.1.2"; + + src = fetchurl { + url = "https://github.com/sequelpro/sequelpro/releases/download/release-1.1.2/sequel-pro-1.1.2.dmg"; + sha256 = "1il7yc3f0yzxkra27bslnmka5ycxzx0q4m3xz2j9r7iyq5izsd3v"; + }; + + buildInputs = [ undmg ]; + installPhase = '' + mkdir -p "$out/Applications/Sequel Pro.app" + cp -R . "$out/Applications/Sequel Pro.app" + chmod +x "$out/Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro" + ''; + + meta = { + description = "MySQL database management for Mac OS X"; + homepage = http://www.sequelpro.com/; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.darwin; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9fbc40ed4481..214bbc91b721 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17044,4 +17044,6 @@ in imatix_gsl = callPackage ../development/tools/imatix_gsl {}; iterm2 = callPackage ../applications/misc/iterm2 {}; + + sequelpro = callPackage ../applications/misc/sequelpro {}; }