depot/third_party/nixpkgs/pkgs/tools/misc/lice/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

24 lines
629 B
Nix

{ lib, buildPythonPackage, fetchPypi , setuptools, pytestCheckHook }:
buildPythonPackage rec {
pname = "lice";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
};
propagatedBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
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;
mainProgram = "lice";
};
}