-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
IOHK
committed
Oct 2, 2024
1 parent
d7553bd
commit f24239b
Showing
24 changed files
with
824 additions
and
3 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
...mic-write-0.2.1.0-r0-ea459a6a39870faed7c497cfa6e8de82cc11e30176c4f8e209b6c39afb953571.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.10"; | ||
identifier = { name = "atomic-write"; version = "0.2.1.0"; }; | ||
license = "MIT"; | ||
copyright = "2015-2019 Stack Builders Inc."; | ||
maintainer = "[email protected]"; | ||
author = "Justin Leitgeb"; | ||
homepage = "https://github.com/stackbuilders/atomic-write"; | ||
url = ""; | ||
synopsis = "Atomically write to a file"; | ||
description = "\nAtomically write to a file on POSIX-compliant systems while preserving\npermissions.\n\nOn most Unix systems, `mv` is an atomic operation. This makes it simple to write\nto a file atomically just by using the mv operation. However, this will\ndestroy the permissions on the original file. This library does the following\nto preserve permissions while atomically writing to a file:\n\n* If an original file exists, take those permissions and apply them to the\ntemp file before `mv`ing the file into place.\n\n* If the original file does not exist, create a following with default\npermissions (based on the currently-active umask).\n\nThis way, when the file is `mv`'ed into place, the permissions will be the ones\nheld by the original file.\n\nThis library is based on similar implementations found in common libraries in\nRuby and Python:\n\n* <http://apidock.com/rails/File/atomic_write/class Ruby on Rails includes a similar method called atomic_write>\n\n* <https://github.com/chef/chef/blob/c4631816132fcfefaba3d123a1d0dfe8bc2866bb/lib/chef/file_content_management/deploy/mv_unix.rb#L23:L71 Chef includes atomic update functionality>\n\n* <https://github.com/sashka/atomicfile There is a python library for atomically updating a file>\n\nTo use `atomic-write`, import the module corresponding to the type you wish to\nwrite atomically, e.g., to write a (strict) ByteString atomically:\n\n> import System.AtomicWrite.Writer.ByteString\n\nThen you can use the atomicWriteFile function that accepts a `FilePath` and a\n`ByteString`, e.g.:\n\n> atomicWriteFile myFilePath myByteString"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."unix-compat" or (errorHandler.buildDepError "unix-compat")) | ||
(hsPkgs."directory" or (errorHandler.buildDepError "directory")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"atomic-write-test" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."atomic-write" or (errorHandler.buildDepError "atomic-write")) | ||
(hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) | ||
(hsPkgs."unix-compat" or (errorHandler.buildDepError "unix-compat")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
]; | ||
build-tools = [ | ||
(hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
47 changes: 47 additions & 0 deletions
47
.../hslua-list-1.1.4-r0-8dd4bd957178421a6a2dc2ed77aaef2ba820e368fb8d9517c7d72981de3726b3.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "2.2"; | ||
identifier = { name = "hslua-list"; version = "1.1.4"; }; | ||
license = "MIT"; | ||
copyright = "© 2022-2024 Albert Krewinkel"; | ||
maintainer = "Albert Krewinkel <[email protected]>"; | ||
author = "Albert Krewinkel"; | ||
homepage = "https://hslua.org/"; | ||
url = ""; | ||
synopsis = "Opinionated, but extensible Lua list type."; | ||
description = "List type for Lua, with a Haskell interface."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."hslua-core" or (errorHandler.buildDepError "hslua-core")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"hslua-list-test" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."hslua-core" or (errorHandler.buildDepError "hslua-core")) | ||
(hsPkgs."hslua-list" or (errorHandler.buildDepError "hslua-list")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."tasty-lua" or (errorHandler.buildDepError "tasty-lua")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
61 changes: 61 additions & 0 deletions
61
.../jsonpath-0.3.0.0-r1-3d264563209fc8e82651f28a2a1fc2b3039cdeda60bd5b620106cecb6063234c.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "1.12"; | ||
identifier = { name = "jsonpath"; version = "0.3.0.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = "Akshay Mankar"; | ||
maintainer = "[email protected]"; | ||
author = "Akshay Mankar"; | ||
homepage = "https://github.com/akshaymankar/jsonpath-hs#readme"; | ||
url = ""; | ||
synopsis = "Library to parse and execute JSONPath"; | ||
description = "Please see the README on GitHub at <https://github.com/akshaymankar/jsonpath-hs#readme>"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"jsonpath-test" = { | ||
depends = [ | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."aeson-casing" or (errorHandler.buildDepError "aeson-casing")) | ||
(hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) | ||
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) | ||
(hsPkgs."hspec-megaparsec" or (errorHandler.buildDepError "hspec-megaparsec")) | ||
(hsPkgs."jsonpath" or (errorHandler.buildDepError "jsonpath")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) | ||
(hsPkgs."vector" or (errorHandler.buildDepError "vector")) | ||
]; | ||
build-tools = [ | ||
(hsPkgs.pkgsBuildBuild.hspec-discover.components.exes.hspec-discover or (pkgs.pkgsBuildBuild.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover"))) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
56 changes: 56 additions & 0 deletions
56
...m-pretty-0.12.1.0-r1-bea6d6c782fb4b280fd3b1f7267eb0b2a02ed4597fa004f51f4ba63af242f32c.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "2.2"; | ||
identifier = { name = "llvm-pretty"; version = "0.12.1.0"; }; | ||
license = "BSD-3-Clause"; | ||
copyright = ""; | ||
maintainer = "[email protected], [email protected]"; | ||
author = "Trevor Elliott"; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "A pretty printing library inspired by the llvm binding."; | ||
description = "A pretty printing library that was inspired by the LLVM binding by Lennart\nAugustsson. The library provides a monadic interface to a pretty printer,\nthat allows functions to be defined and called, generating the corresponding\nLLVM assembly when run."; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."parsec" or (errorHandler.buildDepError "parsec")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."monadLib" or (errorHandler.buildDepError "monadLib")) | ||
(hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) | ||
(hsPkgs."microlens-th" or (errorHandler.buildDepError "microlens-th")) | ||
(hsPkgs."syb" or (errorHandler.buildDepError "syb")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."th-abstraction" or (errorHandler.buildDepError "th-abstraction")) | ||
]; | ||
buildable = true; | ||
}; | ||
tests = { | ||
"llvm-pretty-test" = { | ||
depends = [ | ||
(hsPkgs."llvm-pretty" or (errorHandler.buildDepError "llvm-pretty")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) | ||
(hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) | ||
(hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) | ||
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
98 changes: 98 additions & 0 deletions
98
...ge/minion-0.1.0.1-r0-d8042562024067ed65a186675aa9a4f9655eb5de69bd7fa3e6549a49be1d8da6.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "minion"; version = "0.1.0.1"; }; | ||
license = "MIT"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
author = ""; | ||
homepage = ""; | ||
url = ""; | ||
synopsis = "A Haskell introspectable web router"; | ||
description = ""; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) | ||
(hsPkgs."binary" or (errorHandler.buildDepError "binary")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."case-insensitive" or (errorHandler.buildDepError "case-insensitive")) | ||
(hsPkgs."containers" or (errorHandler.buildDepError "containers")) | ||
(hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) | ||
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) | ||
(hsPkgs."http-api-data" or (errorHandler.buildDepError "http-api-data")) | ||
(hsPkgs."http-media" or (errorHandler.buildDepError "http-media")) | ||
(hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) | ||
(hsPkgs."string-conversions" or (errorHandler.buildDepError "string-conversions")) | ||
(hsPkgs."text" or (errorHandler.buildDepError "text")) | ||
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) | ||
(hsPkgs."wai" or (errorHandler.buildDepError "wai")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"minion-introspection-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
"minion-static-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
"minion-basic-auth-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
"minion-complex-response-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
"minion-json-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
"minion-hello-world-example" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."minion" or (errorHandler.buildDepError "minion")) | ||
(hsPkgs."warp" or (errorHandler.buildDepError "warp")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
51 changes: 51 additions & 0 deletions
51
...rent-json-2.1.0.0-r0-009d659e4480a7fbc1ea314e82235c0069f5b8e4cf1e493f19f07f90a75cb54c.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ system | ||
, compiler | ||
, flags | ||
, pkgs | ||
, hsPkgs | ||
, pkgconfPkgs | ||
, errorHandler | ||
, config | ||
, ... }: | ||
{ | ||
flags = {}; | ||
package = { | ||
specVersion = "3.0"; | ||
identifier = { name = "mpd-current-json"; version = "2.1.0.0"; }; | ||
license = "Unlicense"; | ||
copyright = ""; | ||
maintainer = "[email protected]"; | ||
author = "Lucas G"; | ||
homepage = "https://codeberg.org/useless-utils/mpd-current-json"; | ||
url = ""; | ||
synopsis = "Print current MPD song and status as JSON"; | ||
description = "Print currently playing MPD's song metadata and status as JSON"; | ||
buildType = "Simple"; | ||
}; | ||
components = { | ||
"library" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."libmpd" or (errorHandler.buildDepError "libmpd")) | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
]; | ||
buildable = true; | ||
}; | ||
exes = { | ||
"mpd-current-json" = { | ||
depends = [ | ||
(hsPkgs."base" or (errorHandler.buildDepError "base")) | ||
(hsPkgs."libmpd" or (errorHandler.buildDepError "libmpd")) | ||
(hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) | ||
(hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) | ||
(hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) | ||
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) | ||
(hsPkgs."mpd-current-json" or (errorHandler.buildDepError "mpd-current-json")) | ||
]; | ||
buildable = true; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.