python3Packages.checksumdir: init at 1.2.0

This commit is contained in:
Maksym Balatsko 2023-09-16 08:59:27 -07:00
parent 6fb1efb2d7
commit df76aa7551
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

@ -1911,6 +1911,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 { };