Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.tar: init at 1.1.0

authored by

Ulrik Strid and committed by
Vincent Laporte
993fe617 b2c49d1d

+70
+39
pkgs/development/ocaml-modules/tar/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildDunePackage 4 + , ppx_cstruct 5 + , cstruct 6 + , re 7 + , ppx_tools 8 + }: 9 + 10 + buildDunePackage rec { 11 + pname = "tar"; 12 + version = "1.1.0"; 13 + src = fetchFromGitHub { 14 + owner = "mirage"; 15 + repo = "ocaml-tar"; 16 + rev = "v${version}"; 17 + sha256 = "14k24vn3q5jl0iyrynb5vwg80670qsv12fsmc6cdgh4zwdpjh7zs"; 18 + }; 19 + 20 + useDune2 = true; 21 + 22 + propagatedBuildInputs = [ 23 + ppx_cstruct 24 + cstruct 25 + re 26 + ]; 27 + 28 + buildInputs = [ 29 + ppx_tools 30 + ]; 31 + 32 + doCheck = true; 33 + 34 + meta = { 35 + description = "Decode and encode tar format files from Unix"; 36 + license = lib.licenses.mit; 37 + maintainers = [ lib.maintainers.ulrikstrid ]; 38 + }; 39 + }
+27
pkgs/development/ocaml-modules/tar/unix.nix
··· 1 + { lib 2 + , buildDunePackage 3 + , tar 4 + , cstruct 5 + , cstruct-lwt 6 + , re 7 + , lwt 8 + }: 9 + 10 + buildDunePackage rec { 11 + pname = "tar-unix"; 12 + inherit (tar) version src useDune2 doCheck; 13 + 14 + propagatedBuildInputs = [ 15 + tar 16 + cstruct 17 + cstruct-lwt 18 + re 19 + lwt 20 + ]; 21 + 22 + meta = { 23 + description = "Decode and encode tar format files from Unix"; 24 + license = lib.licenses.mit; 25 + maintainers = [ lib.maintainers.ulrikstrid ]; 26 + }; 27 + }
+4
pkgs/top-level/ocaml-packages.nix
··· 1074 1074 1075 1075 spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { }; 1076 1076 1077 + tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix { }; 1078 + 1079 + tar = callPackage ../development/ocaml-modules/tar { }; 1080 + 1077 1081 tcpip = callPackage ../development/ocaml-modules/tcpip { }; 1078 1082 1079 1083 tsort = callPackage ../development/ocaml-modules/tsort { };