summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/gi/default.nix
blob: 88f518ea9acfa9b15d07fac2310d3661c0384475 (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
25
26
27
28
29
30
{ fetchFromGitHub, lib, stdenv, ... }:

stdenv.mkDerivation rec {
  name = "gi";
  version = "master";

  src = fetchFromGitHub {
    owner = "dspinellis";
    repo = "gi";
    rev = "684051e";
    sha256 = "14jgfg0bpzhy7dyq3ff45syd3c324l1z6d3q14izvwk6cs11qs8m";
  };

  phases = [
    "unpackPhase"
    "installPhase"
  ];

  installPhase = ''
    mkdir -p $out/bin
    cp ./gi.sh $out/bin/gi
  '';

  meta = {
    description = "a minimalist distributed issue management system based on Git.";
    url = https://github.com/dspinellis/gi;
    license = lib.licenses.gpl3;
    platforms = lib.platforms.unix;
  };
}