mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 22:21:26 +00:00
agdaPackages.cubical: init at 0.2 (#76994)
Co-authored-by: Alex Rice <alexrice999@hotmail.co.uk>
This commit is contained in:
parent
698e71db2c
commit
f7ad47a8f6
@ -6700,6 +6700,12 @@
|
||||
githubId = 889991;
|
||||
name = "Ryan Artecona";
|
||||
};
|
||||
ryanorendorff = {
|
||||
email = "12442942+ryanorendorff@users.noreply.github.com";
|
||||
github = "ryanorendorff";
|
||||
githubId = 12442942;
|
||||
name = "Ryan Orendorff";
|
||||
};
|
||||
ryansydnor = {
|
||||
email = "ryan.t.sydnor@gmail.com";
|
||||
github = "ryansydnor";
|
||||
|
33
pkgs/development/libraries/agda/cubical/default.nix
Normal file
33
pkgs/development/libraries/agda/cubical/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub, ghc, glibcLocales }:
|
||||
|
||||
mkDerivation rec {
|
||||
|
||||
# Version 0.2 is meant to be used with the Agda 2.6.1 compiler.
|
||||
pname = "cubical";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "agda";
|
||||
rev = "v${version}";
|
||||
sha256 = "07qlp2f189jvzbn3aqvpqk2zxpkmkxhhkjsn62iq436kxqj3z6c2";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
# The cubical library has several `Everything.agda` files, which are
|
||||
# compiled through the make file they provide.
|
||||
nativeBuildInputs = [ ghc glibcLocales ];
|
||||
buildPhase = ''
|
||||
make
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"A cubical type theory library for use with the Agda compiler";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ alexarice ryanorendorff ];
|
||||
};
|
||||
}
|
@ -22,5 +22,7 @@ let
|
||||
agda-prelude = callPackage ../development/libraries/agda/agda-prelude { };
|
||||
|
||||
agda-categories = callPackage ../development/libraries/agda/agda-categories { };
|
||||
|
||||
cubical = callPackage ../development/libraries/agda/cubical { };
|
||||
};
|
||||
in mkAgdaPackages Agda
|
||||
|
Loading…
Reference in New Issue
Block a user