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 {
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "compat-2.6.1";
|
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;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "128rbhd32qlq2nq3wgqni4ih58zzwvs9pkn9j8236ycxxp6x81sl";
|
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; {
|
2021-08-05 21:33:18 +00:00
|
|
|
# Remove if a version compatible with agda 2.6.2 is made
|
|
|
|
broken = true;
|
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
|
|
|
}
|