lice: 0.4 -> 0.6 (#112895)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Johannes Rosenberger Sandro and committed by GitHub 04e04ead 26256141

+11 -12
+10 -11
pkgs/tools/misc/lice/default.nix
··· 1 - { lib, fetchFromGitHub, python3Packages }: 1 + { lib, buildPythonPackage, fetchPypi , setuptools, pytestCheckHook }: 2 2 3 - python3Packages.buildPythonPackage rec { 3 + buildPythonPackage rec { 4 + pname = "lice"; 5 + version = "0.6"; 4 6 5 - version = "0.4"; 6 - name = "lice-${version}"; 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d"; 10 + }; 7 11 8 - src = fetchFromGitHub { 9 - owner = "licenses"; 10 - repo = "lice"; 11 - rev = version; 12 - sha256 = "0yxf70fi8ds3hmwjply2815k466r99k8n22r0ppfhwjvp3rn60qx"; 13 - fetchSubmodules = true; 14 - }; 12 + propagatedBuildInputs = [ setuptools ]; 15 13 14 + checkInputs = [ pytestCheckHook ]; 16 15 meta = with lib; { 17 16 description = "Print license based on selection and user options"; 18 17 homepage = "https://github.com/licenses/lice";
+1 -1
pkgs/top-level/all-packages.nix
··· 29134 29134 29135 29135 lkproof = callPackage ../tools/typesetting/tex/lkproof { }; 29136 29136 29137 - lice = callPackage ../tools/misc/lice {}; 29137 + lice = python3Packages.callPackage ../tools/misc/lice {}; 29138 29138 29139 29139 m33-linux = callPackage ../misc/drivers/m33-linux { }; 29140 29140