1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "empty-files"; 9 version = "0.0.9"; 10 11 src = fetchFromGitHub { 12 owner = "approvals"; 13 repo = "EmptyFiles.Python"; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-P/woyAN9cYdxryX1iM36C53c9dL6lo4eoTzBWT2cd3A="; 16 }; 17 18 propagatedBuildInputs = [ 19 requests 20 ]; 21 22 # cyclic dependency with approvaltests 23 doCheck = false; 24 25 pythonImportsCheck = [ "empty_files" ]; 26 27 meta = with lib; { 28 description = "Null Object pattern for files"; 29 homepage = "https://github.com/approvals/EmptyFiles.Python"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ jonringer ]; 32 }; 33}