Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / empty-files / default.nix
blob1028b3f567c51fdf8526a17e6f5551208bb2dd37
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "empty-files";
9   version = "0.0.9";
11   src = fetchFromGitHub {
12     owner = "approvals";
13     repo = "EmptyFiles.Python";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-P/woyAN9cYdxryX1iM36C53c9dL6lo4eoTzBWT2cd3A=";
16   };
18   propagatedBuildInputs = [
19     requests
20   ];
22   # cyclic dependency with approvaltests
23   doCheck = false;
25   pythonImportsCheck = [ "empty_files" ];
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   };