Unverified Commit eb6aea88 authored by Yt's avatar Yt Committed by GitHub
Browse files

Merge pull request #313958 from onny/wp-proton

wordpressPackages.themes.proton: init at 1.0.1
parents 39b55280 ef13f279
Loading
Loading
Loading
Loading
+28 −9
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@
    };
    meta.license = lib.licenses.agpl3Only;
  };
  themes.geist = stdenv.mkDerivation rec {
  themes = {
    geist = stdenv.mkDerivation rec {
      pname = "geist";
      version = "2.0.3";
      src = fetchzip {
@@ -21,5 +22,23 @@
      };
      meta.license = lib.licenses.gpl2Only;
    };
    proton = stdenv.mkDerivation rec {
      pname = "proton";
      version = "1.0.1";
      src = fetchzip {
        inherit version;
        name = pname;
        url = "https://github.com/christophery/proton/archive/refs/tags/${version}.zip";
        hash = "sha256-JgKyLJ3dRqh1uwlsNuffCOM7LPBigGkLVFqftjFAiP4=";
      };
      installPhase = ''
        runHook preInstall
        mkdir -p $out
        cp -r ./* $out/
        runHook postInstall
      '';
      meta.license = lib.licenses.mit;
    };
  };
}