33 lines
766 B
Nix
Raw Normal View History

2019-12-29 12:14:16 +00:00
{ stdenv, mkDerivation, fetchFromGitHub }:
2014-09-27 02:35:54 +01:00
2019-12-29 12:14:16 +00:00
mkDerivation rec {
2019-12-29 13:20:59 +00:00
version = "compat-2.6.0";
2019-12-29 12:14:16 +00:00
pname = "agda-prelude";
2014-09-27 02:35:54 +01:00
2019-12-29 12:14:16 +00:00
src = fetchFromGitHub {
owner = "UlfNorell";
repo = "agda-prelude";
2014-09-27 02:35:54 +01:00
rev = version;
2019-12-29 13:20:59 +00:00
sha256 = "0brg61qrf8izqav80qpx77dbdxvlnsxyy0v7hmlrmhg68b5lp38y";
2014-09-27 02:35:54 +01:00
};
2019-12-29 13:20:59 +00:00
preConfigure = ''
cd test
make everything
mv Everything.agda ..
cd ..
'';
everythingFile = "./Everything.agda";
2014-09-27 02:35:54 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/UlfNorell/agda-prelude";
2014-09-27 02:35:54 +01:00
description = "Programming library for Agda";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2019-12-29 13:20:59 +00:00
# broken since Agda 2.6.1
broken = true;
2020-05-14 20:50:00 +01:00
maintainers = with maintainers; [ mudri alexarice turion ];
2014-09-27 02:35:54 +01:00
};
2019-12-29 12:14:16 +00:00
}