nixpkgs/pkgs/tools/misc/licensor/default.nix

23 lines
613 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub }:
2019-11-11 19:04:14 +00:00
rustPlatform.buildRustPackage rec {
pname = "licensor";
version = "unstable-2021-02-03";
2019-11-11 19:04:14 +00:00
src = fetchFromGitHub {
owner = "raftario";
repo = pname;
rev = "1897882a708ec6ed65a9569ae0e07d6ea576c652";
sha256 = "0x0lkfrj7jka0p6nx6i9syz0bnzya5z9np9cw09zm1c9njv9mm32";
2019-11-11 19:04:14 +00:00
};
cargoSha256 = "1yix40351yasg7mjmz7qwvwh1dq292dv47gy2a3bwkzhcn6whyjf";
2019-11-11 19:04:14 +00:00
meta = with lib; {
description = "Write licenses to stdout";
homepage = "https://github.com/raftario/licensor";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
2019-11-11 19:04:14 +00:00
};
}