summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/git-assembler.nix
blob: 095dddf0f8dbded6870f020d0ff3bd7ce5ecb146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, stdenv }:

stdenv.mkDerivation rec {
  pname = "git-assembler";
  version = "1.3";

  src = pkgs.fetchFromGitLab {
    owner = "wavexx";
    repo = "git-assembler";
    rev = "v${version}";
    hash = "sha256-A+ygt6Fxiu6EkVoQU5L1rhxu2e1HU0nbqJFzLzXzHBo=";
  };

  buildInputs = [
    pkgs.python3
  ];

  buildPhase = ":";

  installPhase = ''
    mkdir -p $out/bin
    cp git-assembler $out/bin
  '';
}