2021-01-15 06:42:41 +01:00
|
|
|
{ lib, stdenv, fetchurl, undmg }:
|
2016-06-20 19:01:12 +02:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sequel-pro";
|
2016-06-20 19:01:12 +02:00
|
|
|
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 = {
|
2017-08-07 00:05:18 +02:00
|
|
|
description = "MySQL database management for macOS";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.sequelpro.com/";
|
2021-01-15 06:42:41 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.darwin;
|
2016-06-20 19:01:12 +02:00
|
|
|
};
|
|
|
|
}
|