diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-06-26 00:09:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-26 00:09:11 +0000 |
commit | 947012b992faa88e9d5b0d168c8f81c8e7cf995e (patch) | |
tree | 3b5f923312bb65436d1ffe6134af9ba8c9e9f0f2 /pkgs/development/ocaml-modules | |
parent | 4966eff42cf9976319ac34fa28f3af224723a771 (diff) | |
parent | f15360e6a41e77aa479dd47896e709fd77214e4f (diff) | |
download | nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar.gz nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar.bz2 nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar.lz nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar.xz nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.tar.zst nixlib-947012b992faa88e9d5b0d168c8f81c8e7cf995e.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/cudf/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/dose3/default.nix | 61 |
2 files changed, 61 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/cudf/default.nix b/pkgs/development/ocaml-modules/cudf/default.nix index 5bd768e64510..d2090cda6769 100644 --- a/pkgs/development/ocaml-modules/cudf/default.nix +++ b/pkgs/development/ocaml-modules/cudf/default.nix @@ -40,8 +40,6 @@ stdenv.mkDerivation { preInstall = "mkdir -p $OCAMLFIND_DESTDIR"; installFlags = "BINDIR=$(out)/bin"; - # passthru.tests = { inherit dose3; }; # To-Do: To be enabled when Dose3 PR is accepted. - meta = with lib; { description = "A library for CUDF format"; homepage = "http://www.mancoosi.org/cudf/"; diff --git a/pkgs/development/ocaml-modules/dose3/default.nix b/pkgs/development/ocaml-modules/dose3/default.nix new file mode 100644 index 000000000000..3397527fd63f --- /dev/null +++ b/pkgs/development/ocaml-modules/dose3/default.nix @@ -0,0 +1,61 @@ +{ lib, buildDunePackage, fetchFromGitLab +, camlzip, ocamlgraph, parmap, re, stdlib-shims +, base64, bz2, ocaml_extlib, cudf +, dpkg, git, ocaml, ounit, python39, python39Packages +}: + +buildDunePackage rec { + pname = "dose3"; + version = "6.1"; + + src = fetchFromGitLab { + owner = "irill"; + repo = "dose3"; + rev = version; + sha256 = "sha256-RFChY7VH2pVD4u5U1qng46h9aAv8I/3yXVaNmFDmKFI="; + }; + + minimalOCamlVersion = "4.03"; + useDune2 = true; + + buildInputs = [ + parmap + ]; + + propagatedBuildInputs = [ + base64 + bz2 + camlzip + cudf + ocaml_extlib + ocamlgraph + re + stdlib-shims + ]; + + checkInputs = [ + dpkg # Replaces: conf-dpkg + git + ounit + python39 # Replaces: conf-python-3 + python39Packages.pyyaml # Replaces: conf-python3-yaml + ]; + doCheck = false; # Tests are failing. + # To enable tests use: lib.versionAtLeast ocaml.version "4.04"; + + meta = with lib; { + description = "Dose library (part of Mancoosi tools)"; + downloadPage = "https://gitlab.com/irill/dose3/"; + homepage = "http://www.mancoosi.org/software/"; + license = licenses.lgpl3Plus; + longDescription = '' + The dose suite provides libraries for handling package meta-data, and various tools for analyzing package relationships in a large package repository. + * dose-builddebcheck checks, given a collection of source package stanzas and a collection of binary package stanzas of Debian packages, whether the build-dependencies of each source package can be satisfied by the binary packages. + * dose-distcheck checks for every package of a distribution whether it is possible to satisfy its dependencies and conflicts within this distribution. + * ceve, a general metadata parser supporting different input formats (Debian, rpm, and others) and different output formats. + * dose-outdated, a Debian-specific tool for finding packages that are not installable with respect to a package repository, and that can only be made installable again by fixing the package itself. + * dose-challenged, a Debian-specific tool for checking which packages will certainly become uninstallable when some existing package is upgraded to a newer version. + * dose-deb-coinstall, a Debian-specific tool for checking whether a set of packages can be installed all together. + ''; + }; +} |