hg-git: add 0.9.0a1 for py3, and use that
This commit is contained in:
parent
823fbc91f6
commit
abbbc2c216
4 changed files with 25 additions and 1 deletions
|
@ -3,4 +3,5 @@ args: {
|
||||||
plex-pass = import ./plex-pass.nix args;
|
plex-pass = import ./plex-pass.nix args;
|
||||||
secretsync = import ./secretsync args;
|
secretsync = import ./secretsync args;
|
||||||
copybara = import ./copybara.nix args;
|
copybara = import ./copybara.nix args;
|
||||||
|
hg-git = import ./hg-git.nix args;
|
||||||
} // (import ./heptapod-runner.nix args)
|
} // (import ./heptapod-runner.nix args)
|
||||||
|
|
22
nix/pkgs/hg-git.nix
Normal file
22
nix/pkgs/hg-git.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
with pkgs;
|
||||||
|
with pkgs.python3Packages;
|
||||||
|
(buildPythonPackage rec {
|
||||||
|
pname = "hg-git";
|
||||||
|
version = "0.9.0a1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1lhb813zljki3q10bx3n9d7c075s6ahhak5d3a1m6gaxmy6gzj5y";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ dulwich ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Push and pull from a Git server using Mercurial";
|
||||||
|
homepage = "http://hg-git.github.com/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
})
|
|
@ -21,7 +21,7 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim rxvt_unicode.terminfo rebuilder
|
vim rxvt_unicode.terminfo rebuilder
|
||||||
(mercurial.overridePythonAttrs (origAttrs: {
|
(mercurial.overridePythonAttrs (origAttrs: {
|
||||||
propagatedBuildInputs = origAttrs.propagatedBuildInputs ++ [python3Packages.hg-evolve];
|
propagatedBuildInputs = origAttrs.propagatedBuildInputs ++ [python3Packages.hg-evolve depot.nix.pkgs.hg-git];
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -54,3 +54,4 @@ remotenames =
|
||||||
amend =
|
amend =
|
||||||
evolve =
|
evolve =
|
||||||
topic =
|
topic =
|
||||||
|
hggit =
|
||||||
|
|
Loading…
Reference in a new issue