Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/fixture/version/setup/hackage-tarball
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2024-03-04 23:37:49 +0100
committerChristian Heusel <christian@heusel.eu>2024-03-23 23:57:46 +0100
commit05bea3e922aa7aec5cba3242d3f34b5c10fad24e (patch)
treede09c15c36a0860e93eb664f16db694244218cd1 /test/fixture/version/setup/hackage-tarball
parentde0ea3b2f839c2f6ba074d7401d2a28118680da0 (diff)
test: add basic bats setup and test cases for `version setup`
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'test/fixture/version/setup/hackage-tarball')
-rw-r--r--test/fixture/version/setup/hackage-tarball/PKGBUILD16
-rw-r--r--test/fixture/version/setup/hackage-tarball/nvchecker.assert.toml3
2 files changed, 19 insertions, 0 deletions
diff --git a/test/fixture/version/setup/hackage-tarball/PKGBUILD b/test/fixture/version/setup/hackage-tarball/PKGBUILD
new file mode 100644
index 0000000..d6ae5d2
--- /dev/null
+++ b/test/fixture/version/setup/hackage-tarball/PKGBUILD
@@ -0,0 +1,16 @@
+_hkgname=implicit-hie
+pkgname=haskell-implicit-hie
+pkgver=0.1.2.7
+pkgrel=114
+pkgdesc="Auto generate hie-bios cradles & hie.yaml"
+url="https://github.com/Avi-D-coder/implicit-hie#readme"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-filepattern' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-attoparsec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('b0746867352b29dd2d4c4535ce6f4d61c3cc61ed31f3f18d49e3f657b12d470a9a53a7ef8a785a9e19b8ff12fb8d8b1cfa80c5c22c90af65bf4b39ab62bbd768')
+
+package() {
+ :
+}
diff --git a/test/fixture/version/setup/hackage-tarball/nvchecker.assert.toml b/test/fixture/version/setup/hackage-tarball/nvchecker.assert.toml
new file mode 100644
index 0000000..1f00b99
--- /dev/null
+++ b/test/fixture/version/setup/hackage-tarball/nvchecker.assert.toml
@@ -0,0 +1,3 @@
+[haskell-implicit-hie]
+source = "hackage"
+hackage = "implicit-hie"