Merge pull request #255497 from mbalatsko/init-checksumdir

python3Packages.checksumdir: init at 1.2.0
This commit is contained in:
OTABI Tomoya 2023-09-24 10:41:31 +09:00 committed by GitHub
commit 86833713a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "checksumdir";
version = "1.2.0";
pyproject = true;
disable = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "to-mc";
repo = "checksumdir";
rev = version;
hash = "sha256-PO8sRGFQ1Dt/UYJuFH6Y3EaQVaS+4DJlOQtvF8ZmBWQ=";
};
nativeBuildInputs = [
setuptools
];
doCheck = false; # Package does not contain tests
pythonImportsCheck = [ "checksumdir" ];
meta = with lib; {
description = "Simple package to compute a single deterministic hash of the file contents of a directory";
homepage = "https://github.com/to-mc/checksumdir";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}

View File

@ -1917,6 +1917,8 @@ self: super: with self; {
checkdmarc = callPackage ../development/python-modules/checkdmarc { };
checksumdir = callPackage ../development/python-modules/checksumdir { };
cheetah3 = callPackage ../development/python-modules/cheetah3 { };
cheroot = callPackage ../development/python-modules/cheroot { };