2019-06-16 20:59:06 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, libseccomp }:
|
2018-12-10 15:58:23 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "railcar";
|
2018-12-10 15:58:23 +00:00
|
|
|
version = "1.0.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oracle";
|
|
|
|
repo = "railcar";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09zn160qxd7760ii6rs5nhr00qmaz49x1plclscznxh9hinyjyh9";
|
|
|
|
};
|
2018-12-11 15:37:18 +00:00
|
|
|
|
|
|
|
# Submitted upstream https://github.com/oracle/railcar/pull/44
|
2018-12-10 15:58:23 +00:00
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "1zsch6gpbw96j5wa68ksbk4x6nbsl7dbvdhdprljpcyrwwkhz47x";
|
2020-02-16 07:33:02 +00:00
|
|
|
|
|
|
|
buildInputs = [ libseccomp ];
|
2018-12-10 15:58:23 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Rust implementation of the Open Containers Initiative oci-runtime";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/oracle/railcar";
|
2018-12-10 15:58:23 +00:00
|
|
|
license = with licenses; [ asl20 /* or */ upl ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|