mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
svndumpsanitizer: init at 2.0.7 (#282398)
Co-authored-by: h7x4 <h7x4@nani.wtf> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f6b46c1f59
commit
afad2235d2
35
pkgs/by-name/sv/svndumpsanitizer/package.nix
Normal file
35
pkgs/by-name/sv/svndumpsanitizer/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "svndumpsanitizer";
|
||||
version = "2.0.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dsuni";
|
||||
repo = "svndumpsanitizer";
|
||||
# https://github.com/dsuni/svndumpsanitizer/issues/22
|
||||
rev = "cbf917c000ee42fbb31a8667014a4357bbfdd6a6";
|
||||
hash = "sha256-lkVX11t0AF4y1EQQFXjPTrJmsfJhgx5Y1xj1VDlsbH0=";
|
||||
};
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
cc svndumpsanitizer.c -o svndumpsanitizer
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm555 svndumpsanitizer -t $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Alternative to svndumpfilter that discovers which nodes should actually be kept";
|
||||
homepage = "https://miria.homelinuxserver.org/svndumpsanitizer";
|
||||
downloadPage = "https://github.com/dsuni/svndumpsanitizer";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ lafrenierejm ];
|
||||
mainProgram = "svndumpsanitizer";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user