Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 38 lines 795 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, flit-core 6, unittestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "pathspec"; 11 version = "0.11.0"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-ZNM41OCRTpHBeSMh5pB7Wlk/GrGFHef8JpVXohsw67w="; 17 }; 18 19 nativeBuildInputs = [ 20 flit-core 21 ]; 22 23 pythonImportsCheck = [ 24 "pathspec" 25 ]; 26 27 checkInputs = [ 28 unittestCheckHook 29 ]; 30 31 meta = { 32 description = "Utility library for gitignore-style pattern matching of file paths"; 33 homepage = "https://github.com/cpburnz/python-path-specification"; 34 changelog = "https://github.com/cpburnz/python-pathspec/blob/v${version}/CHANGES.rst"; 35 license = lib.licenses.mpl20; 36 maintainers = with lib.maintainers; [ copumpkin ]; 37 }; 38}