nur-packages

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

default.nix (896B)


      1 {
      2   lib,
      3   stdenvNoCC,
      4   fetchfromgh,
      5   unzip,
      6 }:
      7 
      8 stdenvNoCC.mkDerivation (finalAttrs: {
      9   pname = "sequel-ace";
     10   version = "4.0.17-20067";
     11 
     12   src = fetchfromgh {
     13     owner = "Sequel-Ace";
     14     repo = "Sequel-Ace";
     15     name = "Sequel-Ace-${lib.head (lib.splitString "-" finalAttrs.version)}.zip";
     16     hash = "sha256-I1wVmamN9x9il+9XeJxmrsSyG3Y27+3/Jt4Q9P6Q7dI=";
     17     version = "production/${finalAttrs.version}";
     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 })