Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
30 lines
798 B
Nix
30 lines
798 B
Nix
{ fetchFromGitHub, lib, mkDerivation, standard-library }:
|
|
|
|
mkDerivation rec {
|
|
version = "0.5.0";
|
|
pname = "functional-linear-algebra";
|
|
|
|
buildInputs = [ standard-library ];
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "functional-linear-algebra";
|
|
owner = "ryanorendorff";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-3nme/eH4pY6bD0DkhL4Dj/Vp/WnZqkQtZTNk+n1oAyY=";
|
|
};
|
|
|
|
preConfigure = ''
|
|
sh generate-everything.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
|
|
description = ''
|
|
Formalizing linear algebra in Agda by representing matrices as functions
|
|
from one vector space to another.
|
|
'';
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ ryanorendorff ];
|
|
};
|
|
}
|