1{ lib
2, buildPythonPackage
3, fetchPypi
4, pycosat
5, requests
6, ruamel-yaml
7, isPy3k
8, enum34
9}:
10
11# Note: this installs conda as a library. The application cannot be used.
12# This is likely therefore NOT what you're looking for.
13
14buildPythonPackage rec {
15 pname = "conda";
16 version = "4.3.16";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "a91ef821343dea3ba9670f3d10b36c1ace4f4c36d70c175d8fc8886e94285953";
21 };
22
23 propagatedBuildInputs = [ pycosat requests ruamel-yaml ] ++ lib.optional (!isPy3k) enum34;
24
25 # No tests
26 doCheck = false;
27
28 meta = {
29 description = "OS-agnostic, system-level binary package manager";
30 homepage = "https://github.com/conda/conda";
31 license = lib.licenses.bsd3;
32 };
33
34}