summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDzmitry Malyshau <kvark@fastmail.com>2021-11-17 12:28:27 -0500
committerDzmitry Malyshau <kvark@fastmail.com>2021-11-19 10:44:00 -0500
commit634d44ab55add35de6b12fb8d2b8288c40d50560 (patch)
treec8c07783fb928cdb977f3265e804db5776d4575b /pkgs
parentd6fe39ecc251362aaa969abf2304b4bdde712b09 (diff)
downloadnixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar.gz
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar.bz2
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar.lz
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar.xz
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.tar.zst
nixpkgs-634d44ab55add35de6b12fb8d2b8288c40d50560.zip
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.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/python-hglib/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-hglib/default.nix b/pkgs/development/python-modules/python-hglib/default.nix
new file mode 100644
index 00000000000..cf0cf42124a
--- /dev/null
+++ b/pkgs/development/python-modules/python-hglib/default.nix
@@ -0,0 +1,29 @@
+{ 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 ];
+  };
+}