2023-08-10 07:59:29 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "1lab";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "unstable-2023-12-04";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "plt-amy";
|
|
|
|
repo = pname;
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "47c2a96220b4d14419e5ddb973bc1fa06933e723";
|
|
|
|
hash = "sha256-0U6s6sXdynk2IWRBDXBJCf7Gc+gE8AhR1PXZl0DS4yU=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# We don't need anything in support; avoid installing LICENSE.agda
|
|
|
|
postPatch = ''
|
|
|
|
rm -rf support
|
|
|
|
'';
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
libraryName = "1lab";
|
2023-08-10 07:59:29 +00:00
|
|
|
libraryFile = "1lab.agda-lib";
|
|
|
|
everythingFile = "src/index.lagda.md";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
|
|
|
"A formalised, cross-linked reference resource for mathematics done in Homotopy Type Theory ";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ ncfavier ];
|
|
|
|
};
|
|
|
|
}
|