mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #255497 from mbalatsko/init-checksumdir
python3Packages.checksumdir: init at 1.2.0
This commit is contained in:
commit
86833713a7
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user