mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
3270aa896b
as it is the official name since 2016 https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop exception are parts refering to older versions of macOS like "GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
25 lines
735 B
Nix
25 lines
735 B
Nix
{ 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 macOS";
|
|
homepage = http://www.sequelpro.com/;
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = stdenv.lib.platforms.darwin;
|
|
};
|
|
}
|