075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
32 lines
631 B
Nix
32 lines
631 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromSourcehut,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "loca";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~cnx";
|
|
repo = "loca";
|
|
rev = version;
|
|
sha256 = "1l6jimw3wd81nz1jrzsfw1zzsdm0jm998xlddcqaq0h38sx69w8g";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
doCheck = false; # all checks are static analyses
|
|
pythonImportsCheck = [ "loca" ];
|
|
|
|
meta = {
|
|
description = "Local locations";
|
|
homepage = "https://pypi.org/project/loca";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = [ lib.maintainers.McSinyx ];
|
|
};
|
|
}
|