python3Packages.empty-files: init at 0.0.3
This commit is contained in:
parent
bfd44c17cd
commit
3d7809b56c
33
pkgs/development/python-modules/empty-files/default.nix
Normal file
33
pkgs/development/python-modules/empty-files/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -2564,6 +2564,8 @@ in {
|
||||
|
||||
emoji = callPackage ../development/python-modules/emoji { };
|
||||
|
||||
empty-files = callPackage ../development/python-modules/empty-files { };
|
||||
|
||||
empy = callPackage ../development/python-modules/empy { };
|
||||
|
||||
emulated-roku = callPackage ../development/python-modules/emulated-roku { };
|
||||
|
Loading…
Reference in New Issue
Block a user