aboutsummaryrefslogtreecommitdiff
path: root/tools/pizzly-app.nix
blob: 703e4aa4edb921dbb8457822bf33d68a852fedb3 (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
{ lib, stdenv, fetchFromGitHub, cmake, zlib }:

stdenv.mkDerivation rec {
  pname = "pizzly";
  version = "0.37.3";

  src = fetchFromGitHub {
    repo = pname;
    owner = "pmelsted";
    rev = "v${version}";
    sha256 = "sha256-VB3kYjnhg9+QMdCAbYAzf30kO8zXZlEvK913ALZiUwU=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ zlib ];

  installPhase = ''
    runHook preInstall
    install -Dm 755 pizzly $out/bin/pizzly
    runHook postInstall
  '';

  meta = with lib; {
    description = "Fusion detection from kallisto";
    homepage = "https://github.com/pmelsted/pizzly";
    license = licenses.bsd2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ jbedo ];
  };
}