Files
nixpkgs/pkgs/development/python-modules/python-hglib/default.nix
Dzmitry Malyshau 634d44ab55 python3Packages.python-hglib: init at 2.6.1
This is required for glean-sdk python module. It uses 2.6.1 specifically.
We'd need to relax the requirement and update it to 2.6.2 later.
2021-11-19 10:44:00 -05:00

30 lines
746 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ lib
, python3Packages
}:
python3Packages.buildPythonPackage rec {
pname = "python-hglib";
# https://bugzilla.mozilla.org/show_bug.cgi?id=1741686
version = "2.6.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-fB+gy00zLdbshAmwR4fOukYj6X+zeGVvfKsLmWxso7I=";
};
buildInputs = [
];
# attempts to create a temporary `HGTMP` folder
doCheck = false;
pythonImportsCheck = [ "hglib" ];
meta = with lib; {
description = "Library with a fast, convenient interface to Mercurial. It uses Mercurial’s command server for communication with hg.";
homepage = "https://www.mercurial-scm.org/wiki/PythonHglibs";
license = licenses.mit;
maintainers = [ maintainers.kvark ];
};
}