1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "checksumdir"; 11 version = "1.3.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "to-mc"; 18 repo = "checksumdir"; 19 tag = version; 20 hash = "sha256-rOHRJAK+Or8bwAtzpbINdnEjK3WQcU+4sEZI91tMvAk="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 doCheck = false; # Package does not contain tests 26 pythonImportsCheck = [ "checksumdir" ]; 27 28 meta = with lib; { 29 description = "Simple package to compute a single deterministic hash of the file contents of a directory"; 30 homepage = "https://github.com/to-mc/checksumdir"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ mbalatsko ]; 33 }; 34}