nixpkgs/pkgs/applications/science/logic/eprover/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
752 B
Nix

{ stdenv, fetchurl, which }:
stdenv.mkDerivation rec {
pname = "eprover";
version = "2.3";
src = fetchurl {
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
sha256 = "15pbmi195812a2pwrvfa4gwad0cy7117d5kaw98651g6fzgd4rjk";
};
buildInputs = [ which ];
preConfigure = ''
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
'';
configureFlags = [
"--exec-prefix=$(out)"
"--man-prefix=$(out)/share/man"
];
meta = with stdenv.lib; {
description = "Automated theorem prover for full first-order logic with equality";
homepage = http://www.eprover.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ raskin gebner ];
platforms = platforms.all;
};
}