Files
nixpkgs/pkgs/development/python-modules/hatch-nodejs-version/default.nix
Martin Weinelt f745be201b python3Packages.hatch-nodejs-version: 0.3.2 -> 0.4.0
This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:47 +02:00

37 lines
793 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
hatchling,
}:
buildPythonPackage rec {
pname = "hatch-nodejs-version";
version = "0.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "agoose77";
repo = "hatch-nodejs-version";
tag = "v${version}";
hash = "sha256-Oe07HFzhhnAGTWM51xSgRmpJgIZg0oMIxkmMxKRPMwI=";
};
propagatedBuildInputs = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hatch_nodejs_version" ];
meta = with lib; {
description = "Plugins for dealing with NodeJS versions";
homepage = "https://github.com/agoose77/hatch-nodejs-version";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
};
}