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.
34 lines
739 B
Nix
34 lines
739 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
hatchling,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hatch-nodejs-version";
|
|
version = "0.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "agoose77";
|
|
repo = "hatch-nodejs-version";
|
|
tag = "v${version}";
|
|
hash = "sha256-Oe07HFzhhnAGTWM51xSgRmpJgIZg0oMIxkmMxKRPMwI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ hatchling ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "hatch_nodejs_version" ];
|
|
|
|
meta = {
|
|
description = "Plugins for dealing with NodeJS versions";
|
|
homepage = "https://github.com/agoose77/hatch-nodejs-version";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ cpcloud ];
|
|
};
|
|
}
|