567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
33 lines
705 B
Nix
33 lines
705 B
Nix
{
|
|
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 = {
|
|
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 lib.maintainers; [
|
|
jwiegley
|
|
mudri
|
|
alexarice
|
|
turion
|
|
];
|
|
};
|
|
}
|