mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
691 B
Nix
30 lines
691 B
Nix
{ stdenv, fetchFromGitHub, cmake, gmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lean";
|
|
version = "3.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leanprover";
|
|
repo = "lean";
|
|
rev = "v${version}";
|
|
sha256 = "0zpnfg6kyg120rrdr336i1lymmzz4xgcqpn96iavhzhlaanmx55l";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ gmp ];
|
|
enableParallelBuilding = true;
|
|
|
|
preConfigure = ''
|
|
cd src
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Automatic and interactive theorem prover";
|
|
homepage = https://leanprover.github.io/;
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ thoughtpolice gebner ];
|
|
};
|
|
}
|