2018-05-06 18:35:01 +02:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip }:
|
2018-02-22 12:18:10 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "sit-${version}";
|
2018-05-06 18:35:01 +02:00
|
|
|
version = "0.3.2";
|
2018-02-22 12:18:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sit-it";
|
|
|
|
repo = "sit";
|
|
|
|
rev = "v${version}";
|
2018-05-06 18:35:01 +02:00
|
|
|
sha256 = "0lhl4rrfmsi76498mg5si2xagl8l2pi5d92dxhsyzszpwn5jdp57";
|
2018-02-22 12:18:10 +01:00
|
|
|
};
|
|
|
|
|
2018-05-06 18:35:01 +02:00
|
|
|
buildInputs = [ cmake libzip ];
|
|
|
|
|
|
|
|
cargoSha256 = "102haqix13nwcncng1s8qkw68spn6fhh3vysk2nbahw6f78zczqg";
|
2018-02-22 12:18:10 +01:00
|
|
|
|
2018-05-08 01:18:22 +02:00
|
|
|
patches = [ ./aarch64-isel.patch ];
|
2018-05-07 22:33:51 +02:00
|
|
|
|
2018-02-22 12:18:10 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-04-13 16:57:21 +02:00
|
|
|
description = "Serverless Information Tracker";
|
2018-05-06 18:35:01 +02:00
|
|
|
homepage = https://sit.sh/;
|
2018-02-22 12:18:10 +01:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
2018-05-06 18:35:01 +02:00
|
|
|
maintainers = with maintainers; [ dywedir yrashk ];
|
2018-02-22 12:18:10 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|