evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / se / sequelpro / package.nix
blobdd1aca73b7db8803a42fa357063be9615c43884c
1 { lib, stdenv, fetchurl, undmg }:
3 stdenv.mkDerivation {
4   pname = "sequel-pro";
5   version = "1.1.2";
7   src = fetchurl {
8     url = "https://github.com/sequelpro/sequelpro/releases/download/release-1.1.2/sequel-pro-1.1.2.dmg";
9     sha256 = "1il7yc3f0yzxkra27bslnmka5ycxzx0q4m3xz2j9r7iyq5izsd3v";
10   };
12   buildInputs = [ undmg ];
13   installPhase = ''
14     mkdir -p "$out/Applications/Sequel Pro.app"
15     cp -R . "$out/Applications/Sequel Pro.app"
16     chmod +x "$out/Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro"
17   '';
19   meta = {
20     description = "MySQL database management for macOS";
21     homepage = "http://www.sequelpro.com/";
22     license = lib.licenses.mit;
23     platforms = lib.platforms.darwin;
24   };