depot/third_party/nixpkgs/pkgs/tools/misc/lice/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
586 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
version = "0.4";
name = "lice-${version}";
src = fetchFromGitHub {
owner = "licenses";
repo = "lice";
rev = version;
sha256 = "0yxf70fi8ds3hmwjply2815k466r99k8n22r0ppfhwjvp3rn60qx";
fetchSubmodules = true;
};
meta = with lib; {
description = "Print license based on selection and user options";
homepage = "https://github.com/licenses/lice";
license = licenses.bsd3;
maintainers = with maintainers; [ swflint ];
platforms = platforms.unix;
};
}