Merge pull request #193032 from cpcloud/hatch-nodejs-version

authored by Sandro and committed by GitHub 7cf46dbc 92e8392b

+43
+41
pkgs/development/python-modules/hatch-nodejs-version/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , hatchling 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "hatch-nodejs-version"; 11 + version = "0.3.0"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "agoose77"; 18 + repo = "hatch-nodejs-version"; 19 + rev = "v${version}"; 20 + sha256 = "sha256-TBvqXjka8poQ8xxQ/H1hFYRLqnP1024uan1d9b95ags="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + hatchling 25 + ]; 26 + 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "hatch_nodejs_version" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Plugins for dealing with NodeJS versions"; 37 + homepage = "https://github.com/agoose77/hatch-nodejs-version"; 38 + license = licenses.mit; 39 + maintainers = with maintainers; [ cpcloud ]; 40 + }; 41 + }
+2
pkgs/top-level/python-packages.nix
··· 4147 4148 hatch-vcs = callPackage ../development/python-modules/hatch-vcs { }; 4149 4150 haversine = callPackage ../development/python-modules/haversine { }; 4151 4152 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
··· 4147 4148 hatch-vcs = callPackage ../development/python-modules/hatch-vcs { }; 4149 4150 + hatch-nodejs-version = callPackage ../development/python-modules/hatch-nodejs-version { }; 4151 + 4152 haversine = callPackage ../development/python-modules/haversine { }; 4153 4154 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };