8 inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
11 description = "OAuth credential MAnager";
12 homepage = "https://github.com/pdobsan/oama";
13 maintainers = with lib.maintainers; [ aidalgol ];
15 passthru.updateScript = ./update.sh;
18 raw-pkg = (haskellPackages.callPackage ./generated-package.nix { }).overrideScope (
20 # Dependency twain requires an older version of http2, and we cannot mix
21 # versions of transitive dependencies.
22 http2 = final.http2_3_0_3;
23 warp = final.warp_3_3_30;
28 (overrideCabal overrides)
29 # FIXME: eliminate all erroneous references on aarch64-darwin manually,
30 # see https://github.com/NixOS/nixpkgs/issues/318013
31 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else justStaticExecutables)