depot/third_party/nixpkgs/pkgs/development/libraries/agda/1lab/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
811 B
Nix

{ lib, mkDerivation, fetchFromGitHub }:
mkDerivation rec {
pname = "1lab";
version = "unstable-2023-12-04";
src = fetchFromGitHub {
owner = "plt-amy";
repo = pname;
rev = "47c2a96220b4d14419e5ddb973bc1fa06933e723";
hash = "sha256-0U6s6sXdynk2IWRBDXBJCf7Gc+gE8AhR1PXZl0DS4yU=";
};
# We don't need anything in support; avoid installing LICENSE.agda
postPatch = ''
rm -rf support
'';
libraryName = "1lab";
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 ];
};
}