blob: bb746983db45efeac3daca0238b73bd80974a614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
dulwich,
mercurial,
}:
buildPythonPackage rec {
pname = "hg-git";
version = "1.2.0";
pyproject = true;
src = fetchPypi {
pname = "hg_git";
inherit version;
hash = "sha256-Pr+rNkqBubVlsQCyqd5mdr8D357FzSd3Kuz5EWeez8M=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
dulwich
mercurial
];
pythonRelaxDeps = [ "dulwich" ];
pythonImportsCheck = [ "hggit" ];
meta = {
description = "Push and pull from a Git server using Mercurial";
homepage = "https://hg-git.github.io/";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ koral ];
};
}
|