-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pandoc-citeproc: remove language/haskell require.
Will be removed in Homebrew/brew#9209.
- Loading branch information
1 parent
3c98175
commit d97133c
Showing
1 changed file
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
@@ -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 | ||
|
@@ -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 | ||
|