3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/sequelpro/default.nix

26 lines
714 B
Nix
Raw Normal View History

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