diff options
author | Profpatsch <mail@profpatsch.de> | 2023-06-29T23·01+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2023-07-14T08·03+0000 |
commit | 12d23b3e64a278ab1419b72b52ffabe9c89100a1 (patch) | |
tree | b8a718331f4f0ad1a0a77fb23a4b263e948c3007 /third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix | |
parent | 9504914a590695d587e07f45ddaa889c725a67c0 (diff) |
feat(users/Profpatsch/whatcd-resolver): Add torrent & basic status r/6421
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>
Diffstat (limited to 'third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix')
-rw-r--r-- | third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix b/third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix new file mode 100644 index 000000000000..4beeba32fe61 --- /dev/null +++ b/third_party/overlays/haskell/extra-pkgs/pa-json-0.2.1.0.nix @@ -0,0 +1,45 @@ +{ 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; +} |