2022-02-04 22:45:41 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
requests,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "empty-files";
|
2023-08-09 00:37:27 +00:00
|
|
|
version = "0.0.9";
|
2023-12-07 03:53:02 +00:00
|
|
|
format = "setuptools";
|
2022-02-04 22:45:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "approvals";
|
|
|
|
repo = "EmptyFiles.Python";
|
2023-06-27 11:43:07 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-08-09 00:37:27 +00:00
|
|
|
hash = "sha256-P/woyAN9cYdxryX1iM36C53c9dL6lo4eoTzBWT2cd3A=";
|
2022-02-04 22:45:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2022-02-04 22:45:41 +00:00
|
|
|
};
|
|
|
|
}
|