push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{
lib,
mkDerivation,
fetchFromGitHub,
}:
mkDerivation {
pname = "1lab";
version = "unstable-2025-07-01";
src = fetchFromGitHub {
owner = "the1lab";
repo = "1lab";
rev = "e9c2ad2b3ba9cefad36e72cb9d732117c68ac862";
hash = "sha256-wKh77+xCdfMtnq9jMlpdnEptGO+/WVNlQFa1TDbdUGs=";
};
postPatch = ''
# We don't need anything in support; avoid installing LICENSE.agda
rm -rf support
# Remove verbosity options as they make Agda take longer and use more memory.
shopt -s globstar extglob
files=(src/**/*.@(agda|lagda.md))
sed -Ei '/OPTIONS/s/ -v ?[^ #]+//g' "''${files[@]}"
'';
meta = with lib; {
description = "Formalised, cross-linked reference resource for mathematics done in Homotopy Type Theory ";
homepage = "https://github.com/the1lab/1lab";
license = licenses.agpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ ncfavier ];
};
}

View File

@@ -0,0 +1,41 @@
{
lib,
mkDerivation,
fetchFromGitHub,
standard-library,
}:
mkDerivation rec {
version = "0.3.0";
pname = "agda-categories";
src = fetchFromGitHub {
owner = "agda";
repo = "agda-categories";
rev = "v${version}";
sha256 = "sha256-zPh6RFnky4KsnQx5Y/3FeYZ/jWK+hqJGNyCjEFPPHWQ=";
};
postPatch = ''
# Remove this once agda-categories incorporates this fix or once Agda's
# versioning system gets an overhaul in general. Right now there is no middle
# ground between "no version constraint" and "exact match down to patch". We
# do not want to need to change this postPatch directive on each minor
# version update of the stdlib, so we get rid of the version constraint
# altogether.
sed -Ei 's/standard-library-[0-9.]+/standard-library/' agda-categories.agda-lib
'';
buildInputs = [ standard-library ];
meta = with lib; {
inherit (src.meta) homepage;
description = "New Categories library";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [
alexarice
turion
];
};
}

View File

@@ -0,0 +1,29 @@
{
lib,
mkDerivation,
fetchFromGitHub,
}:
mkDerivation {
version = "unstable-2024-08-22";
pname = "agda-prelude";
src = fetchFromGitHub {
owner = "UlfNorell";
repo = "agda-prelude";
rev = "4230566d3ae229b6a00258587651ac7bfd38d088";
hash = "sha256-ab+KojzRbkUTAFNH5OA78s0F5SUuXTbliai6badveg4=";
};
meta = with lib; {
homepage = "https://github.com/UlfNorell/agda-prelude";
description = "Programming library for Agda";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with maintainers; [
mudri
alexarice
turion
];
};
}

View File

@@ -0,0 +1,27 @@
{
lib,
mkDerivation,
haskellPackages,
}:
mkDerivation {
pname = "agda2hs-base";
inherit (haskellPackages.agda2hs) src version;
postUnpack = ''
sourceRoot="$sourceRoot/lib/base"
'';
libraryFile = "base.agda-lib";
meta = with lib; {
homepage = "https://github.com/agda/agda2hs";
description = "Standard library for compiling Agda code to readable Haskell";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with maintainers; [
wrvsrx
];
};
}

View File

@@ -0,0 +1,29 @@
{
lib,
mkDerivation,
fetchFromGitHub,
standard-library,
}:
mkDerivation rec {
pname = "agdarsec";
version = "0.4.1";
src = fetchFromGitHub {
owner = "gallais";
repo = "agdarsec";
rev = "v${version}";
sha256 = "02fqkycvicw6m2xsz8p01aq8n3gj2d2gyx8sgj15l46f8434fy0x";
};
buildInputs = [ standard-library ];
meta = with lib; {
homepage = "https://gallais.github.io/agdarsec/";
description = "Total Parser Combinators in Agda";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ turion ];
broken = true;
};
}

View File

@@ -0,0 +1,43 @@
{
lib,
mkDerivation,
fetchFromGitHub,
ghc,
cabal-install,
}:
mkDerivation {
pname = "cubical-mini";
version = "0.5-unstable-2025-06-13";
src = fetchFromGitHub {
repo = "cubical-mini";
owner = "cmcmA20";
rev = "1776874d13d0b811e6eeb70d0e5a52b4d2a978d2";
hash = "sha256-UxWOS+uzP9aAaMdSueA2CAuzWkImGAoKxroarcgpk+w=";
};
nativeBuildInputs = [
ghc
cabal-install
];
# Makefile uses `cabal run` which tries to write its default config to $HOME and download package
# lists. We need to create an empty config file to make cabal work offline.
buildPhase = ''
runHook preBuild
export HOME=$TMP
mkdir $HOME/.cabal
touch $HOME/.cabal/config
make
runHook postBuild
'';
meta = {
homepage = "https://github.com/cmcmA20/cubical-mini";
description = "Nonstandard library for Cubical Agda";
license = lib.licenses.agpl3Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ thelissimus ];
};
}

View File

@@ -0,0 +1,30 @@
{
lib,
mkDerivation,
fetchFromGitHub,
}:
mkDerivation rec {
pname = "cubical";
version = "0.9";
src = fetchFromGitHub {
repo = "cubical";
owner = "agda";
rev = "v${version}";
hash = "sha256-Lmzofq2rKFmfsAoH3zIFB2QLeUhFmIO44JsF+dDrubw=";
};
meta = with lib; {
description = "Cubical type theory library for use with the Agda compiler";
homepage = src.meta.homepage;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [
alexarice
ryanorendorff
ncfavier
phijor
];
};
}

View File

@@ -0,0 +1,31 @@
{
fetchFromGitHub,
lib,
mkDerivation,
standard-library,
}:
mkDerivation rec {
version = "0.5.0";
pname = "functional-linear-algebra";
buildInputs = [ standard-library ];
src = fetchFromGitHub {
repo = "functional-linear-algebra";
owner = "ryanorendorff";
rev = "v${version}";
sha256 = "sha256-3nme/eH4pY6bD0DkhL4Dj/Vp/WnZqkQtZTNk+n1oAyY=";
};
meta = with lib; {
homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
description = ''
Formalizing linear algebra in Agda by representing matrices as functions
from one vector space to another.
'';
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ ryanorendorff ];
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
mkDerivation,
fetchFromGitHub,
standard-library,
}:
mkDerivation rec {
pname = "generic";
version = "0.1.0.2";
src = fetchFromGitHub {
owner = "effectfully";
repo = "Generic";
rev = "v${version}";
sha256 = "05igsd2gaj6h9bkqwp8llhvn4qvc5gmi03x4fnz096ba8m6x8s3n";
};
buildInputs = [
standard-library
];
preBuild = ''
echo "module Everything where" > Everything.agda
find src -name '*.agda' | sed -e 's/src\///;s/\//./g;s/\.agda$//;s/^/import /' >> Everything.agda
'';
meta = with lib; {
# Remove if a version compatible with agda 2.6.2 is made
broken = true;
description = "Library for doing generic programming in Agda";
homepage = src.meta.homepage;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [
alexarice
turion
];
};
}

View File

@@ -0,0 +1,35 @@
{
lib,
mkDerivation,
fetchFromGitHub,
standard-library,
}:
mkDerivation rec {
pname = "generics";
version = "1.0.1";
src = fetchFromGitHub {
owner = "flupe";
repo = "generics";
rev = "v${version}";
sha256 = "sha256-B1eT6F0Dp2zto50ulf+K/KYMlMp8Pgc/tO9qkcqn+O8=";
};
buildInputs = [
standard-library
];
# Agda expects a single .agda-lib file.
preBuild = ''
rm tests.agda-lib
'';
meta = with lib; {
description = "Library for datatype-generic programming in Agda";
homepage = src.meta.homepage;
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ turion ];
};
}

View File

@@ -0,0 +1,38 @@
{
lib,
mkDerivation,
fetchFromGitHub,
}:
mkDerivation rec {
version = "1.5.0";
pname = "iowa-stdlib";
src = fetchFromGitHub {
owner = "cedille";
repo = "ial";
rev = "v${version}";
sha256 = "0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g";
};
libraryFile = "";
libraryName = "IAL-1.3";
buildPhase = ''
patchShebangs find-deps.sh
make
'';
meta = {
homepage = "https://github.com/cedille/ial";
description = "Agda standard library developed at Iowa";
license = lib.licenses.free;
platforms = lib.platforms.unix;
# broken since Agda 2.6.1
broken = true;
maintainers = with lib.maintainers; [
alexarice
turion
];
};
}

View File

@@ -0,0 +1,32 @@
{
lib,
mkDerivation,
fetchFromGitHub,
nixosTests,
}:
mkDerivation rec {
pname = "standard-library";
version = "2.3";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
hash = "sha256-JOeoek6OfyIk9vwTj5QUJU6LnRzwfiG0e0ysW6zbhZ8=";
};
passthru.tests = { inherit (nixosTests) agda; };
meta = with lib; {
homepage = "https://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
description = "Standard library for use with the Agda compiler";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with maintainers; [
jwiegley
mudri
alexarice
turion
];
};
}