11 buildPythonPackage rec {
12 pname = "python-hglib";
17 url = "https://repo.mercurial-scm.org/python-hglib/archive/${version}.tar.gz";
18 hash = "sha256-UXersegqJ9VAxy4Kvpb2IiOJfQbWryeeaGvwiR4ncW8=";
23 name = "remove-nose.patch";
24 excludes = [ "heptapod-ci.yml" ];
25 url = "https://repo.mercurial-scm.org/python-hglib/raw-rev/8341f2494b3fc1c0d9ee55fa4487c0ac82f64d2a";
26 hash = "sha256-4gicVCAH94itxHY0l8ek0L/RVhUrw2lMbbnENbWrV6U=";
29 name = "fix-tests.patch";
30 url = "https://repo.mercurial-scm.org/python-hglib/raw-rev/a2afbf236ca86287e72f54e1248413625d1bc405";
31 hash = "sha256-T/yKJ8cMMOBVk24SXwyPOoD321S1fZEIunaPJAxI0KI=";
35 build-system = [ setuptools ];
43 export HGTMP=$(mktemp -d)
47 pythonImportsCheck = [ "hglib" ];
50 description = "Library with a fast, convenient interface to Mercurial. It uses Mercurial’s command server for communication with hg";
51 homepage = "https://www.mercurial-scm.org/wiki/PythonHglibs";
52 license = lib.licenses.mit;