1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/coq-modules/coqeal/default.nix

34 lines
916 B
Nix
Raw Normal View History

2015-05-28 20:53:27 +01:00
{ stdenv, fetchgit, coq, mathcomp }:
2014-12-04 20:15:30 +00:00
stdenv.mkDerivation rec {
name = "coq-coqeal-${coq.coq-version}-${version}";
version = "7522037d";
src = fetchgit {
url = git://github.com/CoqEAL/CoqEAL.git;
rev = "7522037d5e01e651e705d782f4f91fc68c46866e";
sha256 = "0kbnsrycd0hjni311i8xc5xinn4ia8rnqi328sdfqzvvyky37fgj";
2014-12-04 20:15:30 +00:00
};
2015-05-28 20:53:27 +01:00
propagatedBuildInputs = [ mathcomp ];
2014-12-04 20:15:30 +00:00
2015-05-28 20:53:27 +01:00
preConfigure = ''
cd theory
patch ./Make <<EOF
0a1
> -R . CoqEAL
EOF
'';
2014-12-04 20:15:30 +00:00
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
meta = with stdenv.lib; {
homepage = http://www.maximedenes.fr/content/coqeal-coq-effective-algebra-library;
description = "A Coq library for effective algebra, by which is meant formally verified computer algebra algorithms that can be run inside Coq on concrete inputs";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}