d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
33 lines
698 B
Nix
33 lines
698 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "empty-files";
|
|
version = "0.0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "approvals";
|
|
repo = "EmptyFiles.Python";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-P/woyAN9cYdxryX1iM36C53c9dL6lo4eoTzBWT2cd3A=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|