oama: 0.14 -> 0.19.0
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
From d6d43789bf5af99c9c18f4c88e6a6751bdcacbce Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nick Hu <me@nickhu.co.uk>
|
||||||
|
Date: Wed, 16 Apr 2025 15:18:02 +0100
|
||||||
|
Subject: [PATCH] Downgrade cabal-version for ghc 9.6 compat
|
||||||
|
|
||||||
|
---
|
||||||
|
oama.cabal | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/oama.cabal b/oama.cabal
|
||||||
|
index 658c051..4d0c428 100644
|
||||||
|
--- a/oama.cabal
|
||||||
|
+++ b/oama.cabal
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cabal-version: 3.12
|
||||||
|
+cabal-version: 3.8
|
||||||
|
name: oama
|
||||||
|
version: 0.19.0
|
||||||
|
license: BSD-3-Clause
|
||||||
|
--
|
||||||
|
2.48.1
|
||||||
|
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
fetchgit,
|
fetchgit,
|
||||||
hsyslog,
|
hsyslog,
|
||||||
http-conduit,
|
http-conduit,
|
||||||
|
http-types,
|
||||||
lib,
|
lib,
|
||||||
mtl,
|
mtl,
|
||||||
network,
|
network,
|
||||||
@@ -30,11 +31,11 @@
|
|||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "oama";
|
pname = "oama";
|
||||||
version = "0.14";
|
version = "0.19.0";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/pdobsan/oama.git";
|
url = "https://github.com/pdobsan/oama.git";
|
||||||
sha256 = "1hdhkc6hh4nvx31vkaii7hd2rxlwqrsvr6i1i0a9r1xlda05ffq0";
|
sha256 = "1nrgpnh76fcmkdw1j3ha5cam7bnxkgfns2plj8609qv0v0swmj4s";
|
||||||
rev = "4e1ffd3001034771d284678f0160060c1871707c";
|
rev = "3eef17b7e290dfced252375a13bc8dd46849adf0";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
@@ -47,6 +48,7 @@ mkDerivation {
|
|||||||
directory
|
directory
|
||||||
hsyslog
|
hsyslog
|
||||||
http-conduit
|
http-conduit
|
||||||
|
http-types
|
||||||
mtl
|
mtl
|
||||||
network
|
network
|
||||||
network-uri
|
network-uri
|
||||||
@@ -72,6 +74,7 @@ mkDerivation {
|
|||||||
directory
|
directory
|
||||||
hsyslog
|
hsyslog
|
||||||
http-conduit
|
http-conduit
|
||||||
|
http-types
|
||||||
mtl
|
mtl
|
||||||
network
|
network
|
||||||
network-uri
|
network-uri
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ let
|
|||||||
inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
|
inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
|
||||||
|
|
||||||
overrides = {
|
overrides = {
|
||||||
|
patches = [ ./0001-Downgrade-cabal-version-for-ghc-9.6-compat.patch ];
|
||||||
description = "OAuth credential MAnager";
|
description = "OAuth credential MAnager";
|
||||||
homepage = "https://github.com/pdobsan/oama";
|
homepage = "https://github.com/pdobsan/oama";
|
||||||
maintainers = with lib.maintainers; [ aidalgol ];
|
maintainers = with lib.maintainers; [ aidalgol ];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p cabal2nix curl jq nixfmt-rfc-style
|
#!nix-shell -i bash -p haskell.packages.ghc910.cabal2nix nix-prefetch-git curl jq nixfmt-rfc-style
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user