Skip to content

Commit

Permalink
Automatic Update
Browse files Browse the repository at this point in the history
  • Loading branch information
IOHK committed Oct 2, 2024
1 parent d7553bd commit f24239b
Show file tree
Hide file tree
Showing 24 changed files with 824 additions and 3 deletions.
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;
};
};
};
}
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;
};
};
};
}
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;
};
};
};
}
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;
};
};
};
}
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;
};
};
};
}
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;
};
};
};
}
Loading

0 comments on commit f24239b

Please sign in to comment.