INNER CODE UNIT · Ruby

Cernlib

davidchall/homebrew-hep · Formula/cernlib.rb:1

class Cernlib < Formula
  desc "CERN library"
  homepage "https://cernlib.web.cern.ch"
  url "https://cernlib.web.cern.ch/download/2023_source/tar/cernlib-2023.08.14.0-free.tar.gz"
  sha256 "7006475d9c38254cb94ce75e556a319fea3b3155087780ea522003103771474e"
  license "GPL-2.0-or-later"

  livecheck do
    url "https://cernlib.web.cern.ch/cernlib/download/2023_source/tar"
    regex(/href=.*?cernlib[._-](\d{4}\.\d{2}\.\d{2}\.\d+)-free\.t/i)
  end

  bottle do
    root_url "https://ghcr.io/v2/davidchall/hep"
    sha256 ventura:  "8bc51dc39755d709d94ffcf150aced5ee94a67e011402caa6922e13fc6d249f4"
    sha256 monterey: "107b2eee1bd045330f6be7c424791a3517313c0e20a18b4bc0d60c511c1d1550"
  end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…