1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/development/coq-modules/autosubst/default.nix

34 lines
888 B
Nix
Raw Normal View History

2017-07-11 02:15:14 +01:00
{ stdenv, fetchgit, coq, mathcomp }:
stdenv.mkDerivation rec {
name = "coq-autosubst-${coq.coq-version}-${version}";
version = "5b40a32e";
src = fetchgit {
url = "git://github.com/uds-psl/autosubst.git";
2017-07-11 02:15:14 +01:00
rev = "1c3bb3bbf5477e3b33533a0fc090399f45fe3034";
2017-07-28 07:45:31 +01:00
sha256 = "06pcjbngzwqyncvfwzz88j33wvdj9kizxyg5adp7y6186h8an341";
2017-07-11 02:15:14 +01:00
};
2018-11-05 14:53:19 +00:00
buildInputs = [ coq ];
2017-07-11 02:15:14 +01:00
propagatedBuildInputs = [ mathcomp ];
patches = [./0001-changes-to-work-with-Coq-8.6.patch];
2019-11-05 01:10:31 +00:00
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
2017-07-11 02:15:14 +01:00
meta = with stdenv.lib; {
homepage = "https://www.ps.uni-saarland.de/autosubst/";
2017-07-11 02:15:14 +01:00
description = "Automation for de Bruijn syntax and substitution in Coq";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
2018-04-24 15:21:21 +01:00
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" ];
};
2018-03-21 14:00:47 +00:00
2017-07-11 02:15:14 +01:00
}