2021-06-28 23:13:55 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitLab
|
2023-07-15 17:15:38 +00:00
|
|
|
, ocamlgraph, parmap, re, stdlib-shims
|
|
|
|
, base64, extlib, cudf
|
|
|
|
, ocaml, ounit
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dose3";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "7.0.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "irill";
|
|
|
|
repo = "dose3";
|
|
|
|
rev = version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-K0fYSAWV48Rers/foDrEIqieyJ0PvpXkuYrFrZGBkkE=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
minimalOCamlVersion = "4.07";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
parmap
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
base64
|
|
|
|
cudf
|
2022-11-21 17:40:18 +00:00
|
|
|
extlib
|
2021-06-28 23:13:55 +00:00
|
|
|
ocamlgraph
|
|
|
|
re
|
|
|
|
stdlib-shims
|
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
|
|
|
ounit
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dose library (part of Mancoosi tools)";
|
|
|
|
downloadPage = "https://gitlab.com/irill/dose3/";
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://www.mancoosi.org/software/";
|
2021-06-28 23:13:55 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|