name: acme-mutable-package version: 0 x-revision: 4 build-type: Custom cabal-version: >= 1.6 category: ACME license: MIT license-file: LICENSE.markdown maintainer: Taylor Fausak synopsis: A mutable package. description: > -- Hi Twitter! > -- Hi Reddit! > > -- | This is a joke package. It is meant to show Haskell packages on > -- Hackage can be mutated by revising them. This package uses a custom > -- Cabal setup. It reads the package description, which is what you are > -- reading now, and creates a file at build time from its contents. Since > -- revisions are allowed to change descriptions, the package itself is > -- mutable. I personally disagree with Hackage revisions, so I authored > -- this package to show one way they can be abused. To see how exactly this > -- is accomplished, read the custom setup file on GitHub: > -- . > > module AcmeMutablePackage ( mutable ) where > > -- | Are packages mutable? You might think they would be immutable, but you > -- would be wrong. > > mutable :: Bool > mutable = True -- Originally 'False'. source-repository head type: git location: https://github.com/tfausak/acme-mutable-package custom-setup setup-depends: base >= 4.10.1 && < 4.11, Cabal >= 2.0.1 && < 2.1 library build-depends: base >= 4.10.1 && < 4.11 exposed-modules: AcmeMutablePackage