Skip to content

Commit

Permalink
ham: init at (unstable-)2019-01-22
Browse files Browse the repository at this point in the history
  • Loading branch information
herrwiese committed Apr 29, 2019
1 parent 305b401 commit 8d53c34
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };
Expand Down
41 changes: 41 additions & 0 deletions pkgs/top-level/perl-packages.nix
Expand Up @@ -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 {
Expand Down

0 comments on commit 8d53c34

Please sign in to comment.