nixpkgs/pkgs/applications/version-management/sit/default.nix

28 lines
718 B
Nix
Raw Normal View History

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