Skip to content

Commit

Permalink
hg-git: move to python-packages, enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb committed Sep 5, 2021
1 parent 75e8251 commit 77a6477
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/hg-git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, fetchPypi
, dulwich
, brotli
, mercurial
}:

buildPythonPackage rec {
Expand All @@ -16,9 +17,7 @@ buildPythonPackage rec {

propagatedBuildInputs = [ dulwich brotli ];

# circular dependency, tests need mercurial to be installed, but hg-git is a
# dependency of nixpkgs' mercurial package.
doCheck = false;
checkInputs = [ mercurial ];

meta = with lib; {
description = "Push and pull from a Git server using Mercurial";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3321,6 +3321,8 @@ in {

hg-evolve = callPackage ../development/python-modules/hg-evolve { };

hg-git = callPackage ../development/python-modules/hg-git { };

hglib = callPackage ../development/python-modules/hglib { };

hickle = callPackage ../development/python-modules/hickle { };
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/python2-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ with self; with super; {
pythonPackages = self;
});

hg-git = callPackage ../development/python-modules/hg-git { };

hgsvn = callPackage ../development/python-modules/hgsvn { };

hsaudiotag = callPackage ../development/python-modules/hsaudiotag { };
Expand Down

0 comments on commit 77a6477

Please sign in to comment.