Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchFromGitHub, lib, mkDerivation, standard-library }:
2
3mkDerivation rec {
4 version = "0.4";
5 pname = "functional-linear-algebra";
6
7 buildInputs = [ standard-library ];
8
9 src = fetchFromGitHub {
10 repo = "functional-linear-algebra";
11 owner = "ryanorendorff";
12 rev = "v${version}";
13 sha256 = "05jk3792k9xf8iiwzm2hwlvd25f2pqqr3gppmqjf8xb9199i8fk0";
14 };
15
16 preConfigure = ''
17 sh generate-everything.sh
18 '';
19
20 meta = with lib; {
21 homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
22 description = ''
23 Formalizing linear algebra in Agda by representing matrices as functions
24 from one vector space to another.
25 '';
26 license = licenses.bsd3;
27 platforms = platforms.unix;
28 maintainers = with maintainers; [ ryanorendorff ];
29 };
30}