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