qgroundcontrol: 4.4.2 -> 4.4.3 (#360956)
[NixPkgs.git] / pkgs / by-name / li / libmamba / package.nix
blob435d15c34a5dca7efa05b067c9c4bfd07776be7d
2   fetchFromGitHub,
3   lib,
4   stdenv,
5   cmake,
6   fmt,
7   spdlog,
8   tl-expected,
9   nlohmann_json,
10   yaml-cpp,
11   simdjson,
12   reproc,
13   libsolv,
14   curl,
15   libarchive,
16   zstd,
17   bzip2,
18   python3Packages,
20 stdenv.mkDerivation rec {
21   pname = "libmamba";
22   version = "1.5.8";
23   src = fetchFromGitHub {
24     owner = "mamba-org";
25     repo = "mamba";
26     rev = "libmamba-${version}";
27     hash = "sha256-sxZDlMFoMLq2EAzwBVO++xvU1C30JoIoZXEX/sqkXS0=";
28   };
29   nativeBuildInputs = [
30     cmake
31     python3Packages.python
32   ];
33   buildInputs = [
34     fmt
35     spdlog
36     tl-expected
37     nlohmann_json
38     yaml-cpp
39     simdjson
40     reproc
41     libsolv
42     curl
43     libarchive
44     zstd
45     bzip2
46   ];
48   cmakeFlags = [
49     (lib.cmakeBool "BUILD_LIBMAMBA" true)
50     (lib.cmakeBool "BUILD_SHARED" true)
51   ];
53   meta = {
54     description = "Library for the fast Cross-Platform Package Manager";
55     homepage = "https://github.com/mamba-org/mamba";
56     license = lib.licenses.bsd3;
57     platforms = lib.platforms.all;
58     maintainers = [ lib.maintainers.ericthemagician ];
59   };