48d4c8cc3c
GitOrigin-RevId: 6ef4f522d63f22b40004319778761040d3197390
25 lines
618 B
Nix
25 lines
618 B
Nix
{ 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 ];
|
|
};
|
|
}
|