blob: 0fa30a4e8835e7eb866f39919ea43e66585336db (
plain) (
blame)
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
31
32
|
{ lib, rustPlatform, fetchurl, makeWrapper, pkg-config
, openssl, systemd, gitMinimal
}:
rustPlatform.buildRustPackage rec {
pname = "pr-tracker";
version = "1.0.0";
src = fetchurl {
url = "https://git.qyliss.net/pr-tracker/snapshot/pr-tracker-${version}.tar.xz";
sha256 = "0faj2ir0m4cs6y10xkqc9xvrqkv9w2j4z4yhv354dbfchsg127jk";
};
cargoSha256 = "1sfc08m8vxvd07p321nh4bmnsf7xfxq8kfbq8inm9yz2fh8f84m9";
nativeBuildInputs = [ makeWrapper pkg-config ];
buildInputs = [ openssl systemd ];
strictDeps = true;
postInstall = ''
wrapProgram $out/bin/pr-tracker \
--prefix PATH : ${lib.makeBinPath [ gitMinimal ]}
'';
meta = with lib; {
homepage = "https://git.qyliss.net/pr-tracker/about/";
description = "Nixpkgs pull request channel tracker";
maintainers = with maintainers; [ qyliss ];
license = licenses.agpl3Plus; # with linking exception for OpenSSL
platforms = platforms.unix;
};
}
|