package.nix (920B)
1 { 2 lib, 3 stdenvNoCC, 4 fetchfromgh, 5 unzip, 6 }: 7 8 stdenvNoCC.mkDerivation (finalAttrs: { 9 pname = "sequel-ace"; 10 version = "4.1.7-20080"; 11 12 __structuredAttrs = true; 13 14 src = fetchfromgh { 15 owner = "Sequel-Ace"; 16 repo = "Sequel-Ace"; 17 tag = "production/${finalAttrs.version}"; 18 hash = "sha256-tJh3fLPrHhh1CKTN1iAGQnhqeCoZ5hN5ytL0KwplgHk="; 19 name = "Sequel-Ace-${lib.head (lib.splitString "-" finalAttrs.version)}.zip"; 20 }; 21 22 sourceRoot = "."; 23 24 nativeBuildInputs = [ unzip ]; 25 26 installPhase = '' 27 mkdir -p $out/Applications 28 cp -r *.app $out/Applications 29 ''; 30 31 meta = { 32 description = "MySQL/MariaDB database management for macOS"; 33 homepage = "https://sequel-ace.com/"; 34 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 35 license = lib.licenses.free; 36 maintainers = [ lib.maintainers.sikmir ]; 37 platforms = [ "x86_64-darwin" ]; 38 skip.ci = true; 39 }; 40 })
