lice: migrate to by-name, modernize (#474367)

This commit is contained in:
Matthieu Coudron
2025-12-27 02:03:55 +00:00
committed by GitHub
2 changed files with 10 additions and 10 deletions
@@ -1,24 +1,26 @@
{
lib,
buildPythonPackage,
python3Packages,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
python3Packages.buildPythonPackage rec {
pname = "lice";
version = "0.6";
format = "setuptools";
pyproject = true;
# github is missing tags
src = fetchPypi {
inherit pname version;
sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
hash = "sha256-LZU2YPdJiepaCH/TWNrtJiuyPlJP6t1+c3a2uHL0fmo=";
};
propagatedBuildInputs = [ setuptools ];
build-system = [ python3Packages.setuptools ];
dependencies = [ python3Packages.setuptools ]; # pkg_resources
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Print license based on selection and user options";
homepage = "https://github.com/licenses/lice";
-2
View File
@@ -13839,8 +13839,6 @@ with pkgs;
}
);
lice = python3Packages.callPackage ../tools/misc/lice { };
mysql-workbench = callPackage ../by-name/my/mysql-workbench/package.nix (
let
mysql = mysql80;