diff options
author | Profpatsch <mail@profpatsch.de> | 2016-11-04 12:24:57 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-11-04 12:24:57 +0100 |
commit | 2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213 (patch) | |
tree | 947e0194e8689d45eb9d83aaa27c3471bcbfd350 /pkgs/development/ocaml-modules/astring/default.nix | |
parent | c5cac5051af83b41c3601e7e7116f7b49c8dd010 (diff) | |
download | nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar.gz nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar.bz2 nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar.lz nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar.xz nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.tar.zst nixlib-2bd86e9e47d82acf296b353e2bd6b5cb6b7ba213.zip |
Revert "Merge pull request #20090 from sternenseemann/master"
Reason: https://github.com/NixOS/nixpkgs/pull/20090#commitcomment-19686426 This reverts commit 9ffcb1b2503303bfdb4a8fc31c8e4160184eb74c, reversing changes made to a6283c1126676d30de3abfb3ee8865505da0ed43.
Diffstat (limited to 'pkgs/development/ocaml-modules/astring/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/astring/default.nix | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/development/ocaml-modules/astring/default.nix b/pkgs/development/ocaml-modules/astring/default.nix deleted file mode 100644 index 3c603b659a20..000000000000 --- a/pkgs/development/ocaml-modules/astring/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{stdenv, fetchurl, buildOcaml, ocaml, findlib, ocamlbuild, topkg, opam}: - -buildOcaml rec { - version = "0.8.3"; - name = "astring"; - - src = fetchurl { - url = "http://erratique.ch/software/astring/releases/astring-${version}.tbz"; - sha256 = "0ixjwc3plrljvj24za3l9gy0w30lsbggp8yh02lwrzw61ls4cri0"; - }; - - unpackCmd = "tar -xf $curSrc"; - - buildInputs = [ ocaml findlib ocamlbuild topkg opam ]; - - buildPhase = '' - ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/ pkg/pkg.ml build - ''; - - installPhase = '' - opam-installer --script --prefix=$out astring.install | sh - ln -s $out/lib/astring $out/lib/ocaml/${ocaml.version}/site-lib/ - ''; - - meta = { - homepage = http://erratique.ch/software/ptime; - description = "Alternative String module for OCaml."; - longDescription = '' - Astring exposes an alternative String module for OCaml. This module tries - to balance minimality and expressiveness for basic, index-free, string - processing and provides types and functions for substrings, string sets - and string maps. - - Remaining compatible with the OCaml String module is a non-goal. - The String module exposed by Astring has exception safe functions, removes - deprecated and rarely used functions, alters some signatures and names, - adds a few missing functions and fully exploits OCaml's newfound string - immutability. - ''; - license = stdenv.lib.licenses.isc; - maintainers = with stdenv.lib.maintainers; [ sternenseemann ]; - }; -} |