nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (885B)


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