From d262598f6ffad9ab39676ac0b23c3833f378428c Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 11 Nov 2024 20:31:48 +0000 Subject: [PATCH] nix/pkgs: add hg-git --- nix/pkgs/default.nix | 4 ++-- nix/pkgs/hg-git.nix | 26 -------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 nix/pkgs/hg-git.nix diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index f976a63015..a83e60863b 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -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 {}; diff --git a/nix/pkgs/hg-git.nix b/nix/pkgs/hg-git.nix deleted file mode 100644 index 5b4700ad94..0000000000 --- a/nix/pkgs/hg-git.nix +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-FileCopyrightText: 2020 Luke Granger-Brown -# -# 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; - }; -})