Skip to content

Commit

Permalink
pandoc-citeproc: remove language/haskell require.
Browse files Browse the repository at this point in the history
Will be removed in Homebrew/brew#9209.
  • Loading branch information
MikeMcQuaid committed Nov 23, 2020
1 parent 3c98175 commit d97133c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Formula/pandoc-citeproc.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
require "language/haskell"

class PandocCiteproc < Formula
include Language::Haskell::Cabal

desc "Library and executable for using citeproc with pandoc"
homepage "https://github.com/jgm/pandoc-citeproc"
url "https://hackage.haskell.org/package/pandoc-citeproc-0.17.0.2/pandoc-citeproc-0.17.0.2.tar.gz"
Expand All @@ -20,7 +16,7 @@ class PandocCiteproc < Formula
# This package is no longer maintained.
# Pandoc now uses the [citeproc](https://github.com/jgm/citeproc)
# library, and no external filter is needed.
deprecate! date: "2020-10-09", because: :deprecated_upstream
disable! date: "2020-10-09", because: :deprecated_upstream

depends_on "cabal-install" => :build
depends_on "[email protected]" => :build
Expand All @@ -29,7 +25,8 @@ class PandocCiteproc < Formula
uses_from_macos "unzip" => :build

def install
install_cabal_package
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args
end

test do
Expand Down

0 comments on commit d97133c

Please sign in to comment.