1
0

gogs-themes.nix 571 B

123456789101112131415161718192021222324
  1. { lib, fetchFromGitHub, stdenvNoCC }:
  2. stdenvNoCC.mkDerivation {
  3. pname = "gogs-themes";
  4. version = "unstable-2022-01-01";
  5. src = fetchFromGitHub {
  6. owner = "kristuff";
  7. repo = "gogs-themes";
  8. rev = "main";
  9. hash = "sha256-GWcKFOTBYDOSRPImtODuTrppJQlYZyIBGN/7rVgzZ2Q=";
  10. };
  11. installPhase = ''
  12. mkdir -p $out/dist
  13. cp -r dist/*.css $out/dist/
  14. '';
  15. meta = {
  16. description = "Dark & responsive themes for Gogs";
  17. homepage = "https://github.com/kristuff/gogs-themes";
  18. license = lib.licenses.mit;
  19. platforms = lib.platforms.all;
  20. };
  21. }