nixpkgs/pkgs/development/libraries/agda/agda-prelude/default.nix

33 lines
766 B
Nix
Raw Normal View History

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