1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 hatch-vcs, 5 hatchling, 6 lib, 7}: 8 9buildPythonPackage rec { 10 pname = "hatch-min-requirements"; 11 version = "0.1.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "tlambert03"; 16 repo = "hatch-min-requirements"; 17 tag = "v${version}"; 18 hash = "sha256-7/6Es0DHDJ8jZ76kVbWkQjWFd8hWuB+PwCbOmIjzK5o="; 19 }; 20 21 build-system = [ 22 hatchling 23 hatch-vcs 24 ]; 25 26 # As of v0.1.0 all tests attempt to use the network 27 doCheck = false; 28 29 pythonImportsCheck = [ "hatch_min_requirements" ]; 30 31 meta = { 32 description = "Hatchling plugin to create optional-dependencies pinned to minimum versions"; 33 homepage = "https://github.com/tlambert03/hatch-min-requirements"; 34 license = lib.licenses.bsd3; 35 maintainers = with lib.maintainers; [ 36 samuela 37 ]; 38 }; 39}