python3Packages.checksumdir: init at 1.2.0
This commit is contained in:
parent
6fb1efb2d7
commit
df76aa7551
35
pkgs/development/python-modules/checksumdir/default.nix
Normal file
35
pkgs/development/python-modules/checksumdir/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1911,6 +1911,8 @@ self: super: with self; {
|
||||||
|
|
||||||
checkdmarc = callPackage ../development/python-modules/checkdmarc { };
|
checkdmarc = callPackage ../development/python-modules/checkdmarc { };
|
||||||
|
|
||||||
|
checksumdir = callPackage ../development/python-modules/checksumdir { };
|
||||||
|
|
||||||
cheetah3 = callPackage ../development/python-modules/cheetah3 { };
|
cheetah3 = callPackage ../development/python-modules/cheetah3 { };
|
||||||
|
|
||||||
cheroot = callPackage ../development/python-modules/cheroot { };
|
cheroot = callPackage ../development/python-modules/cheroot { };
|
||||||
|
|
Loading…
Reference in a new issue