Unverified Commit 5cb930dd authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

noto-fonts: clean up file names (#290000)

parents c6379368 dfca035a
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenvNoCC,
  fetchFromGitHub,
  gitUpdater,
  rename,
  nixosTests,
  variants ? [ ],
  suffix ? "",
@@ -31,6 +32,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
    hash = "sha256-vhu3jojG6QlgY5gP4bCbpJznsQ1gExAfcRT42FcZUp4=";
  };

  nativeBuildInputs = [
    rename
  ];

  outputs = [
    "out"
    "megamerge" # Experimental fonts created by merging regular notofonts
@@ -71,7 +76,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
          fi
        done
      ''
  );
  )
  + ''
    rename 's/\[.*\]//' $out/share/fonts/noto/*
  '';

  passthru.updateScript = gitUpdater {
    rev-prefix = "noto-monthly-release-";