Files
registry/package.yaml
Lucy e1fbac315b Updates/pkg hardware (#137)
* add ability to specify package architectures for publish script, as well as deindex them

* implement and adjust filtering for package hardware requirements; adjust for legacy and new query params paths

* augment test manifest and fix ram query

* fixes

* fix ram for other routes

* rework filtering logic to eliminate hack db call

* fix hanging issue and other dataset consistency issues

* adjust arch param

* cleanup

* fix package manifest parsing

* make index package arches optional

* rename from embassy-sdk to start-sdk and embassy-publish to registr-publish

* fix ram comparison

* increase upload timeout

* fix serialization and deserialization of devices jsonb database field

* cleanup

* another deserialization fix

* revert change; better error message and test case

* fix jsonb serialization freal

* cleanup

* fix jsonb deserialization

* fix lookup of device value

* parse empty device object as null
2023-08-07 13:18:50 -04:00

149 lines
2.6 KiB
YAML

name: start9-registry
version: 0.2.1
default-extensions:
- NoImplicitPrelude
- GHC2021
- LambdaCase
- OverloadedStrings
dependencies:
- base >=4.12 && <5
- base64
- aeson
- ansi-terminal
- attoparsec
- bytestring
- casing
- can-i-haz
- conduit
- conduit-extra
- containers
- cryptonite
- cryptonite-conduit
- data-default
- dhall
- directory
- errors
- esqueleto
- extra
- file-embed
- fast-logger
- filepath
- foreign-store
- fsnotify
- http-api-data
- http-client-tls
- http-conduit
- http-types
- interpolate
- lens
- memory
- monad-logger
- monad-logger-extras
- monad-loops
- multimap
- network-uri
- optparse-applicative
- parallel
- persistent
- persistent-migration
- persistent-postgresql
- persistent-template
- postgresql-simple
- process
- protolude
- rainbow
- regex-base
- regex-tdfa
- shakespeare
- template-haskell
- terminal-progress-bar
- text
- time
- transformers
- typed-process
- unliftio
- unordered-containers
- unix
- utility-ht
- wai
- wai-cors
- wai-extra
- warp
- warp-tls
- yaml
- yesod
- yesod-auth
- yesod-auth-basic
- yesod-core
- yesod-persistent
library:
source-dirs: src
when:
- condition: (flag(dev)) || (flag(library-only))
then:
cpp-options: -DDEVELOPMENT
ghc-options:
- -Wall
- -fwarn-tabs
- -O0
- -fdefer-typed-holes
else:
ghc-options:
- -Wall
- -fwarn-tabs
- -O2
- -fdefer-typed-holes
executables:
start9-registry:
source-dirs: app
main: main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -fdefer-typed-holes
dependencies:
- start9-registry
when:
- condition: flag(library-only)
buildable: false
registry-publish:
source-dirs: cli
main: Main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -fdefer-typed-holes
dependencies:
- start9-registry
when:
- condition: flag(library-only)
buildable: false
tests:
start9-registry-test:
source-dirs: test
main: Main.hs
ghc-options:
- -Wall
- -fdefer-typed-holes
dependencies:
- start9-registry
- hspec
- yesod-test
- hedgehog
flags:
library-only:
manual: false
default: false
description: Build for use with "yesod devel"
dev:
manual: false
default: false
description: Turn on development settings, like auto-reload templates.