ocamlPackages.pycaml: remove at 0.82-14
This package has been unmaintained upstream for years and broken in
nixpkgs by 9a778368f2
in #152276.
This commit is contained in:
parent
1d3f857a1f
commit
3bcb49aba4
@ -1,47 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python2, ocaml_make }:
|
||||
|
||||
# This is the original pycaml version with patches from debian.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pycaml";
|
||||
version = "0.82-14";
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_${lib.versions.majorMinor version}.orig.tar.gz";
|
||||
sha256 = "d57be559c8d586c575717d47817986bbdbcebe2ffd16ad6b291525c62868babe";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
url = "mirror://debian/pool/main/p/pycaml/pycaml_${version}.debian.tar.gz";
|
||||
sha256 = "a763088ec1fa76c769bf586ed6692e7ac035b0a2bfd48a90a8e7a9539ec0c2f1";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
rm -f Makefile* configure*
|
||||
cp ../debian/META ../debian/Makefile .
|
||||
sed -i "Makefile" -e's|/usr/share/ocamlmakefile/OCamlMakefile|${ocaml_make}/include/OCamlMakefile|g'
|
||||
'';
|
||||
|
||||
sourceRoot = "pycaml";
|
||||
patches = [ "../debian/patches/*.patch" ];
|
||||
|
||||
buildInputs = [ ncurses ocaml findlib python2 ocaml_make ];
|
||||
createFindlibDestdir = true;
|
||||
|
||||
# the Makefile is not shipped with an install target, hence we do it ourselves.
|
||||
installPhase = ''
|
||||
ocamlfind install pycaml \
|
||||
dllpycaml_stubs.so libpycaml_stubs.a pycaml.a pycaml.cma \
|
||||
pycaml.cmi pycaml.cmo pycaml.cmx pycaml.cmxa \
|
||||
META
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/chemoelectric/pycaml";
|
||||
description = "Bindings for python and ocaml";
|
||||
license = "LGPL";
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
};
|
||||
}
|
@ -1193,8 +1193,6 @@ let
|
||||
|
||||
ptset = callPackage ../development/ocaml-modules/ptset { };
|
||||
|
||||
pycaml = callPackage ../development/ocaml-modules/pycaml { };
|
||||
|
||||
pyml = callPackage ../development/ocaml-modules/pyml { };
|
||||
|
||||
qcheck-alcotest = callPackage ../development/ocaml-modules/qcheck/alcotest.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user