3
0
Fork 0
forked from mirrors/nixpkgs

ham: init at (unstable-)2019-01-22

This commit is contained in:
Andreas Wiese 2019-01-11 22:43:52 +01:00
parent 305b401ef8
commit 8d53c34743
2 changed files with 43 additions and 0 deletions

View file

@ -3429,6 +3429,8 @@ in
halide = callPackage ../development/compilers/halide { };
ham = pkgs.perlPackages.ham;
hardinfo = callPackage ../tools/system/hardinfo { };
hdapsd = callPackage ../os-specific/linux/hdapsd { };

View file

@ -6830,6 +6830,47 @@ let
buildInputs = [ TestSimple13 ];
};
ham = buildPerlPackage rec {
name = "ham-unstable-${version}";
version = "2019-01-22";
src = fetchFromGitHub {
owner = "kernkonzept";
repo = "ham";
rev = "37c2e4e8b8bd779ba0f8c48a3c6ba34bad860b92";
sha256 = "0h5r5256niskypl4g1j2573wqi0nn0mai5p04zsa06xrgyjqcy2j";
};
outputs = [ "out" ];
buildInputs = [ pkgs.makeWrapper ];
propagatedBuildInputs = [ pkgs.openssh GitRepository URI XMLMini ];
preConfigure = ''
patchShebangs .
touch Makefile.PL
rm -f Makefile
'';
installPhase = ''
mkdir -p $out/lib $out/bin
cp -r . $out/lib/ham
makeWrapper $out/lib/ham/ham $out/bin/ham --argv0 ham \
--prefix PATH : ${pkgs.openssh}/bin
'';
doCheck = false;
meta = {
description = "A tool to manage big projects consisting of multiple loosely-coupled git repositories";
homepage = https://github.com/kernkonzept/ham;
license = "unknown"; # should be gpl2, but not quite sure
maintainers = with stdenv.lib.maintainers; [ aw ];
platforms = stdenv.lib.platforms.unix;
};
};
HashFlatten = buildPerlPackage rec {
name = "Hash-Flatten-1.19";
src = fetchurl {