29 lines
691 B
Nix
29 lines
691 B
Nix
|
{ lib, mkDerivation, fetchFromGitHub }:
|
||
|
|
||
|
mkDerivation rec {
|
||
|
version = "unstable-2024-08-22";
|
||
|
pname = "agda-prelude";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "UlfNorell";
|
||
|
repo = "agda-prelude";
|
||
|
rev = "4230566d3ae229b6a00258587651ac7bfd38d088";
|
||
|
hash = "sha256-ab+KojzRbkUTAFNH5OA78s0F5SUuXTbliai6badveg4=";
|
||
|
};
|
||
|
|
||
|
preConfigure = ''
|
||
|
cd test
|
||
|
make everything
|
||
|
mv Everything.agda ..
|
||
|
cd ..
|
||
|
'';
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|