nur-packages

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

default.nix (891B)


      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   src = fetchfromgh {
     13     owner = "Sequel-Ace";
     14     repo = "Sequel-Ace";
     15     tag = "production/${finalAttrs.version}";
     16     hash = "sha256-tJh3fLPrHhh1CKTN1iAGQnhqeCoZ5hN5ytL0KwplgHk=";
     17     name = "Sequel-Ace-${lib.head (lib.splitString "-" finalAttrs.version)}.zip";
     18   };
     19 
     20   sourceRoot = ".";
     21 
     22   nativeBuildInputs = [ unzip ];
     23 
     24   installPhase = ''
     25     mkdir -p $out/Applications
     26     cp -r *.app $out/Applications
     27   '';
     28 
     29   meta = {
     30     description = "MySQL/MariaDB database management for macOS";
     31     homepage = "https://sequel-ace.com/";
     32     sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
     33     license = lib.licenses.free;
     34     maintainers = [ lib.maintainers.sikmir ];
     35     platforms = [ "x86_64-darwin" ];
     36     skip.ci = true;
     37   };
     38 })