diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-04 14:45:41 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-04 14:45:41 -0800 |
commit | 3d7809b56cdc2f19ea9caa2b523e10d7c4aa7da3 (patch) | |
tree | ecdf6046cb9758a92df95c6fac1c27266915615b /pkgs/development/python-modules/empty-files | |
parent | bfd44c17cde6323627971899e61f59e8ede97c06 (diff) |
python3Packages.empty-files: init at 0.0.3
Diffstat (limited to 'pkgs/development/python-modules/empty-files')
-rw-r--r-- | pkgs/development/python-modules/empty-files/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/empty-files/default.nix b/pkgs/development/python-modules/empty-files/default.nix new file mode 100644 index 0000000000000..b6c31519efcd8 --- /dev/null +++ b/pkgs/development/python-modules/empty-files/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, requests +}: + +buildPythonPackage rec { + pname = "empty-files"; + version = "0.0.3"; + + src = fetchFromGitHub { + owner = "approvals"; + repo = "EmptyFiles.Python"; + rev = "v${version}"; + sha256 = "sha256-K4rlVO1X1AWxYI3EqLsyQ5/Ist/jlwFrmOM4aMojtKU="; + }; + + propagatedBuildInputs = [ + requests + ]; + + # cyclic dependency with approvaltests + doCheck = false; + + pythonImportsCheck = [ "empty_files" ]; + + meta = with lib; { + description = "Null Object pattern for files"; + homepage = "https://github.com/approvals/EmptyFiles.Python"; + license = licenses.asl20; + maintainers = with maintainers; [ jonringer ]; + }; +} |