28 lines
676 B
Nix
28 lines
676 B
Nix
{ stdenv, mkDerivation, fetchFromGitHub }:
|
|
|
|
mkDerivation rec {
|
|
version = "compat-2.6.1";
|
|
pname = "agda-prelude";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "UlfNorell";
|
|
repo = "agda-prelude";
|
|
rev = version;
|
|
sha256 = "128rbhd32qlq2nq3wgqni4ih58zzwvs9pkn9j8236ycxxp6x81sl";
|
|
};
|
|
|
|
preConfigure = ''
|
|
cd test
|
|
make everything
|
|
mv Everything.agda ..
|
|
cd ..
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/UlfNorell/agda-prelude";
|
|
description = "Programming library for Agda";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = with maintainers; [ mudri alexarice turion ];
|
|
};
|
|
}
|