nix/pkgs: add hg-git

This commit is contained in:
Luke Granger-Brown 2024-11-11 20:31:48 +00:00
parent 96eebb817d
commit d262598f6f
2 changed files with 2 additions and 28 deletions

View file

@ -8,7 +8,6 @@
plex-pass = import ./plex-pass.nix args;
secretsync = import ./secretsync args;
copybara = pkgs.callPackage ./copybara.nix { };
hg-git = import ./hg-git.nix args;
erbium = import ./erbium args;
sheepshaver = import ./sheepshaver.nix args;
intermec-cups-driver = pkgs.callPackage ./intermec-cups-driver.nix {};
@ -26,7 +25,8 @@
lukegb-wallpapers = pkgs.callPackage ./lukegb-wallpapers {};
rundeck-bin = pkgs.callPackage ./rundeck-bin {};
mercurial = pkgs.mercurialFull.withExtensions (pm: with pm; [
hg-evolve
(hg-evolve.override { mercurial = pkgs.mercurialFull; })
(hg-git.override { mercurial = pkgs.mercurialFull; })
]);
ubi_reader = pkgs.python3Packages.callPackage ./ubi_reader {};
prometheus-bird-exporter-lfty = pkgs.callPackage ./prometheus-bird-exporter-lfty.nix {};

View file

@ -1,26 +0,0 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ 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 lib; {
description = "Push and pull from a Git server using Mercurial";
homepage = "http://hg-git.github.com/";
license = licenses.gpl2;
};
})