about summary refs log tree commit diff
path: root/pkgs/applications/version-management/sit/default.nix
blob: ae84add283e61b1d67101db9b0edcf98ae9c5174 (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
{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip }:

rustPlatform.buildRustPackage rec {
  name = "sit-${version}";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "sit-it";
    repo = "sit";
    rev = "v${version}";
    sha256 = "0lhl4rrfmsi76498mg5si2xagl8l2pi5d92dxhsyzszpwn5jdp57";
  };

  buildInputs = [ cmake libzip ];

  cargoSha256 = "102haqix13nwcncng1s8qkw68spn6fhh3vysk2nbahw6f78zczqg";

  patches = [ ./aarch64-eexist.patch ];

  meta = with stdenv.lib; {
    description = "Serverless Information Tracker";
    homepage = https://sit.sh/;
    license = with licenses; [ asl20 /* or */ mit ];
    maintainers = with maintainers; [ dywedir yrashk ];
    platforms = platforms.all;
  };
}