mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #147655 from marsam/update-git-filter-repo
git-filter-repo: remove duplicated expression
This commit is contained in:
commit
193388b14d
@ -1,28 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "git-filter-repo";
|
||||
version = "2.33.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/newren/git-filter-repo/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-e88R2hNLvYKkFx9/soo6t7xNR4/o7Do9lYDku9wy5uk=";
|
||||
};
|
||||
|
||||
buildInputs = [ pythonPackages.python ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/bin git-filter-repo
|
||||
install -Dm644 -t $out/share/man/man1 Documentation/man1/git-filter-repo.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/newren/git-filter-repo";
|
||||
description = "Quickly rewrite git repository history (filter-branch replacement)";
|
||||
license = licenses.mit;
|
||||
inherit (pythonPackages.python.meta) platforms;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -5632,9 +5632,7 @@ with pkgs;
|
||||
|
||||
git-fast-export = callPackage ../applications/version-management/git-and-tools/fast-export { };
|
||||
|
||||
git-filter-repo = callPackage ../applications/version-management/git-and-tools/git-filter-repo {
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
git-filter-repo = with python3Packages; toPythonApplication git-filter-repo;
|
||||
|
||||
git-gone = callPackage ../applications/version-management/git-and-tools/git-gone {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
Loading…
Reference in New Issue
Block a user