2019-11-11 20:04:14 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "licensor";
|
2019-12-04 14:15:35 +01:00
|
|
|
version = "2.1.0";
|
2019-11-11 20:04:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raftario";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-12-04 14:15:35 +01:00
|
|
|
sha256 = "0zr8hcq7crmhrdhwcclc0nap68wvg5kqn5l93ha0vn9xgjy8z11p";
|
2019-11-11 20:04:14 +01:00
|
|
|
};
|
|
|
|
|
2019-12-04 14:15:35 +01:00
|
|
|
cargoSha256 = "042dplm0cdxkv73m5qlkc61h0x9fpzxn2b0c8gjx2hwvigcia139";
|
2019-11-11 20:04:14 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Write licenses to stdout";
|
|
|
|
homepage = "https://github.com/raftario/licensor";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|