2021-02-17 17:02:09 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi , setuptools, pytestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lice";
|
|
|
|
version = "0.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Print license based on selection and user options";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/licenses/lice";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ swflint ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lice";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|