2021-02-05 17:12:51 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
mkDerivation rec {
|
2021-10-07 14:46:35 +00:00
|
|
|
version = "compat-2.6.2";
|
2020-05-15 21:57:56 +00:00
|
|
|
pname = "agda-prelude";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UlfNorell";
|
|
|
|
repo = "agda-prelude";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2021-10-07 14:46:35 +00:00
|
|
|
sha256 = "0j2nip5fbn61fpkm3qz4dlazl4mzdv7qlgw9zm15bkcvaila0h14";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
preConfigure = ''
|
|
|
|
cd test
|
|
|
|
make everything
|
|
|
|
mv Everything.agda ..
|
|
|
|
cd ..
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/UlfNorell/agda-prelude";
|
|
|
|
description = "Programming library for Agda";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.unix;
|
2020-05-15 21:57:56 +00:00
|
|
|
maintainers = with maintainers; [ mudri alexarice turion ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
}
|