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