lice: 0.4 -> 0.6 (#112895)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Johannes Rosenberger 2021-02-17 14:29:04 +01:00 committed by GitHub
parent 26256141d1
commit 04e04ead20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 12 deletions

View file

@ -1,18 +1,17 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, buildPythonPackage, fetchPypi , setuptools, pytestCheckHook }:
python3Packages.buildPythonPackage rec {
buildPythonPackage rec {
pname = "lice";
version = "0.6";
version = "0.4";
name = "lice-${version}";
src = fetchFromGitHub {
owner = "licenses";
repo = "lice";
rev = version;
sha256 = "0yxf70fi8ds3hmwjply2815k466r99k8n22r0ppfhwjvp3rn60qx";
fetchSubmodules = true;
src = fetchPypi {
inherit pname version;
sha256 = "0skyyirbidknfdzdvsjga8zb4ar6xpd5ilvz11dfm2a9yxh3d59d";
};
propagatedBuildInputs = [ setuptools ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Print license based on selection and user options";
homepage = "https://github.com/licenses/lice";

View file

@ -29134,7 +29134,7 @@ in
lkproof = callPackage ../tools/typesetting/tex/lkproof { };
lice = callPackage ../tools/misc/lice {};
lice = python3Packages.callPackage ../tools/misc/lice {};
m33-linux = callPackage ../misc/drivers/m33-linux { };