git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs: remove sapic-0.9

SAPIC is bundled with Tamarin and doesn't have separate releases anymore; add an appropriate 'throw' clause to the alias so people know where to find it. Signed-off-by: Austin Seipp <aseipp@pobox.com>

commit5069fa0a30273e84f68691e516e6cc297624e79d authorAustin Seipp <aseipp@pobox.com> dateSat 19 Jan 2019, 18:29 (8 years ago) parentfc15959
4 files changed+1−70
pkgs/applications/science/logic/sapic/default.nix−28 pkgs/applications/science/logic/sapic/native.patch−38 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix−4
pkgs/applications/science/logic/sapic/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−{ stdenv, fetchurl, unzip, ocaml }:
2−
3−stdenv.mkDerivation rec {
4− name = "sapic-${version}";
5− version = "0.9";
6−
7− src = fetchurl {
8− url = "http://sapic.gforge.inria.fr/${name}.zip";
9− sha256 = "1ckl090lpyfh90mkjhnpcys5grs3nrl9wlbn9nfkxxnaivn2yx9y";
10− };
11−
12− nativeBuildInputs = [ unzip ];
13− buildInputs = [ ocaml ];
14− patches = [ ./native.patch ]; # create a native binary, not a bytecode one
15−
16− buildPhase = "make depend && make";
17− installPhase = ''
18− mkdir -p $out/bin
19− cp ./sapic $out/bin
20− '';
21−
22− meta = {
23− description = "Stateful applied Pi Calculus for protocol verification";
24− homepage = http://sapic.gforge.inria.fr/;
25− platforms = stdenv.lib.platforms.unix;
26− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
27− };
28−}
pkgs/applications/science/logic/sapic/native.patchdeleted−38
@@ -1,38 +0,0 @@
1−diff --git a/Makefile b/Makefile
2−index a1de94d..f9e2eb8 100644
3−--- a/Makefile
4−+++ b/Makefile
5−@@ -1,8 +1,8 @@
6− TARGET = sapic
7−-OBJS=lexer.cmo apip.cmo firsttranslation.cmo main.cmo #secondtranslation.cmo thirdtranslation.cmo main.cmo
8−+OBJS=lexer.cmx apip.cmx firsttranslation.cmx main.cmx
9−
10− sapic: $(OBJS)
11−- ocamlc -o $@ $(OBJS)
12−+ ocamlopt.opt -o $@ $(OBJS)
13−
14− depend:
15− ocamldep *.ml *.mli > .depend
16−@@ -13,17 +13,17 @@ clean:
17− rm -rf *.cmi *.cmo $(TARGET)
18− rm -rf apip.ml apip.mli lexer.ml lexer.mli
19−
20−-.SUFFIXES: .ml .mli .mll .mly .cmo .cmi
21−+.SUFFIXES: .ml .mli .mll .mly .cmo .cmi .cmx
22−
23−-.ml.cmo:
24−- ocamlc -c $<
25−+.ml.cmx:
26−+ ocamlopt.opt -c $<
27− .mli.cmi:
28−- ocamlc -c $<
29−+ ocamlopt.opt -c $<
30− .mll.ml:
31− ocamllex $<
32− .mly.ml:
33− ocamlyacc $<
34− .ml.mli:
35−- ocamlc -i $< > $@
36−+ ocamlopt.opt -i $< > $@
37−
38− -include .depend
pkgs/top-level/aliases.nix+1
@@ -271,6 +271,7 @@ mapAliases ({
271271 saneBackends = sane-backends; # added 2016-01-02
272272 saneBackendsGit = sane-backends-git; # added 2016-01-02
273273 saneFrontends = sane-frontends; # added 2016-01-02
274+ sapic = throw "deprecated 2019-1-19: sapic is bundled with 'tamarin-prover' now";
274275 scim = sc-im; # added 2016-01-22
275276 scollector = bosun; # added 2018-04-25
276277 shared_mime_info = shared-mime-info; # added 2018-02-25
pkgs/top-level/all-packages.nix−4
@@ -21855,10 +21855,6 @@ in
2185521855
2185621856 proverif = callPackage ../applications/science/logic/proverif { };
2185721857
21858− sapic = callPackage ../applications/science/logic/sapic {
21859− inherit (ocaml-ng.ocamlPackages_4_05) ocaml;
21860− };
21861−
2186221858 satallax = callPackage ../applications/science/logic/satallax {
2186321859 ocaml = ocaml-ng.ocamlPackages_4_01_0.ocaml;
2186421860 };