python3Packages.loca: init at 2.0.1

This commit is contained in:
Nguyễn Gia Phong 2021-08-06 14:37:01 +07:00 committed by Jonathan Ringer
parent 278bc2a57b
commit d6732c5f6a
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut }:
buildPythonPackage rec {
pname = "loca";
version = "2.0.1";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
sha256 = "1l6jimw3wd81nz1jrzsfw1zzsdm0jm998xlddcqaq0h38sx69w8g";
};
doCheck = false; # all checks are static analyses
pythonImportsCheck = [ "loca" ];
meta = with lib; {
description = "Local locations";
homepage = "https://pypi.org/project/loca";
license = licenses.lgpl3Plus;
maintainers = [ maintainers.McSinyx ];
};
}

View File

@ -4232,6 +4232,8 @@ in {
lmtpd = callPackage ../development/python-modules/lmtpd { };
loca = callPackage ../development/python-modules/loca { };
localimport = callPackage ../development/python-modules/localimport { };
localzone = callPackage ../development/python-modules/localzone { };