Skip to content

Commit

Permalink
Add flake
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly-Bellroy committed May 22, 2024
1 parent 9a2939b commit 37f644b
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 0 deletions.
15 changes: 15 additions & 0 deletions botocore.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ mkDerivation, aeson, barbies, barbies-th, base, containers
, generic-lens, lib, scientific, some, text
}:
mkDerivation {
pname = "botocore";
version = "0.1.0.0";
src = ./.;
libraryHaskellDepends = [
aeson barbies barbies-th base containers generic-lens scientific
some text
];
homepage = "https://github.com/brendanhay/amazonka";
description = "Representation of botocore types";
license = lib.licenses.bsd3;
}
95 changes: 95 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
inputs = {
bellroy-nix-foss.url = "github:bellroy/bellroy-nix-foss";
};

outputs = inputs:
inputs.bellroy-nix-foss.lib.haskellProject {
cabalPackages = [
{
name = "botocore";
path = ./botocore.nix;
}
];
supportedCompilers = [ "ghc8107" "ghc92" "ghc94" ];
defaultCompiler = "ghc94";
haskellPackagesOverride = { compilerName, haskellLib, final, prev }: {
barbies-th = haskellLib.unmarkBroken prev.barbies-th;
};
};
}

0 comments on commit 37f644b

Please sign in to comment.