git.iko.soy/typeable/nixpkgs
on master help sign in
ham: init at (unstable-)2019-01-22
commit8d53c3474363eabb8da6276e1140a4e247e9090c authorAndreas Wiese <aw-nixos@meterriblecrew.net> dateFri 11 Jan 2019, 22:43 (8 years ago) parent305b401
2 files changed+43
pkgs/top-level/all-packages.nix+2 pkgs/top-level/perl-packages.nix+41
pkgs/top-level/all-packages.nix+2
@@ -3429,6 +3429,8 @@ in
34293429
34303430 halide = callPackage ../development/compilers/halide { };
34313431
3432+ ham = pkgs.perlPackages.ham;
3433+
34323434 hardinfo = callPackage ../tools/system/hardinfo { };
34333435
34343436 hdapsd = callPackage ../os-specific/linux/hdapsd { };
pkgs/top-level/perl-packages.nix+41
@@ -6830,6 +6830,47 @@ let
68306830 buildInputs = [ TestSimple13 ];
68316831 };
68326832
6833+ ham = buildPerlPackage rec {
6834+ name = "ham-unstable-${version}";
6835+ version = "2019-01-22";
6836+
6837+ src = fetchFromGitHub {
6838+ owner = "kernkonzept";
6839+ repo = "ham";
6840+ rev = "37c2e4e8b8bd779ba0f8c48a3c6ba34bad860b92";
6841+ sha256 = "0h5r5256niskypl4g1j2573wqi0nn0mai5p04zsa06xrgyjqcy2j";
6842+ };
6843+
6844+ outputs = [ "out" ];
6845+
6846+ buildInputs = [ pkgs.makeWrapper ];
6847+ propagatedBuildInputs = [ pkgs.openssh GitRepository URI XMLMini ];
6848+
6849+ preConfigure = ''
6850+ patchShebangs .
6851+ touch Makefile.PL
6852+ rm -f Makefile
6853+ '';
6854+
6855+ installPhase = ''
6856+ mkdir -p $out/lib $out/bin
6857+ cp -r . $out/lib/ham
6858+
6859+ makeWrapper $out/lib/ham/ham $out/bin/ham --argv0 ham \
6860+ --prefix PATH : ${pkgs.openssh}/bin
6861+ '';
6862+
6863+ doCheck = false;
6864+
6865+ meta = {
6866+ description = "A tool to manage big projects consisting of multiple loosely-coupled git repositories";
6867+ homepage = https://github.com/kernkonzept/ham;
6868+ license = "unknown"; # should be gpl2, but not quite sure
6869+ maintainers = with stdenv.lib.maintainers; [ aw ];
6870+ platforms = stdenv.lib.platforms.unix;
6871+ };
6872+ };
6873+
68336874 HashFlatten = buildPerlPackage rec {
68346875 name = "Hash-Flatten-1.19";
68356876 src = fetchurl {