12d23b3e64
This is a bit dirty, ideally we have a single polling loop that uses `hx-swap-oob` to fill all status fields in the table (to avoid O(n) looping requests). Change-Id: I78ab392964cf00e39424002fe48cb35a60af184a Reviewed-on: https://cl.tvl.fyi/c/depot/+/8875 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
45 lines
785 B
Nix
45 lines
785 B
Nix
{ mkDerivation
|
|
, aeson
|
|
, aeson-better-errors
|
|
, aeson-pretty
|
|
, base
|
|
, base64-bytestring
|
|
, bytestring
|
|
, containers
|
|
, hspec-core
|
|
, hspec-expectations
|
|
, lib
|
|
, pa-error-tree
|
|
, pa-label
|
|
, pa-prelude
|
|
, scientific
|
|
, text
|
|
, time
|
|
, vector
|
|
}:
|
|
mkDerivation {
|
|
pname = "pa-json";
|
|
version = "0.2.1.0";
|
|
sha256 = "d0c274fa38c05d38e9c2c15ee9dd4ff3ac369650dbc918c973863457110646c8";
|
|
libraryHaskellDepends = [
|
|
aeson
|
|
aeson-better-errors
|
|
aeson-pretty
|
|
base
|
|
base64-bytestring
|
|
bytestring
|
|
containers
|
|
hspec-core
|
|
hspec-expectations
|
|
pa-error-tree
|
|
pa-label
|
|
pa-prelude
|
|
scientific
|
|
text
|
|
time
|
|
vector
|
|
];
|
|
homepage = "https://github.com/possehl-analytics/pa-hackage";
|
|
description = "Our JSON parsers/encoders";
|
|
license = lib.licenses.bsd3;
|
|
}
|