agdaPackages.generic: drop
Has been marked broken for at least a full release cycle. Dropping per RFC 180.
This commit is contained in:
@@ -254,7 +254,7 @@ In a pull request updating e.g. the standard library, you should write the follo
|
|||||||
```
|
```
|
||||||
|
|
||||||
This will build all reverse dependencies of the standard library,
|
This will build all reverse dependencies of the standard library,
|
||||||
for example `agdaPackages.agda-categories`, or `agdaPackages.generic`.
|
for example `agdaPackages.agda-categories`.
|
||||||
|
|
||||||
In some cases it is useful to build _all_ Agda packages.
|
In some cases it is useful to build _all_ Agda packages.
|
||||||
This can be done with the following Github comment:
|
This can be done with the following Github comment:
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
newScope,
|
newScope,
|
||||||
Agda,
|
Agda,
|
||||||
@@ -44,13 +45,14 @@ let
|
|||||||
|
|
||||||
functional-linear-algebra = callPackage ../development/libraries/agda/functional-linear-algebra { };
|
functional-linear-algebra = callPackage ../development/libraries/agda/functional-linear-algebra { };
|
||||||
|
|
||||||
generic = callPackage ../development/libraries/agda/generic { };
|
|
||||||
|
|
||||||
agdarsec = callPackage ../development/libraries/agda/agdarsec { };
|
agdarsec = callPackage ../development/libraries/agda/agdarsec { };
|
||||||
|
|
||||||
_1lab = callPackage ../development/libraries/agda/1lab { };
|
_1lab = callPackage ../development/libraries/agda/1lab { };
|
||||||
|
|
||||||
generics = callPackage ../development/libraries/agda/generics { };
|
generics = callPackage ../development/libraries/agda/generics { };
|
||||||
|
}
|
||||||
|
// lib.optionalAttrs config.allowAliases {
|
||||||
|
generic = throw "agdaPackages.generic has been removed because it is unmaintained upstream and has been marked as broken since 2021. Consider using agdaPackages.generics instead."; # Added 2025-10-11
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mkAgdaPackages Agda
|
mkAgdaPackages Agda
|
||||||
|
|||||||
Reference in New Issue
Block a user