python3Packages.hsh: init at 1.1.0
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
4892d10504
commit
32e7476d02
42
pkgs/development/python-modules/hsh/default.nix
Normal file
42
pkgs/development/python-modules/hsh/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
, commandlines
|
||||||
|
, unittestCheckHook
|
||||||
|
, pexpect
|
||||||
|
, naked
|
||||||
|
, nix-update-script
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "hsh";
|
||||||
|
version = "1.1.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "chrissimpkins";
|
||||||
|
repo = "hsh";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-bAAytoidFHH2dSXqN9aqBd2H4p/rwTWXIZa1t5Djdz0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ commandlines ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools wheel ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ unittestCheckHook pexpect naked ];
|
||||||
|
|
||||||
|
preCheck = "cd tests";
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "hsh" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Cross-platform command line application that generates file hash digests and performs file integrity checks via file hash digest comparisons";
|
||||||
|
homepage = "https://github.com/chrissimpkins/hsh";
|
||||||
|
downloadPage = "https://github.com/chrissimpkins/hsh/releases";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.lucasew ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5203,6 +5203,8 @@ self: super: with self; {
|
||||||
|
|
||||||
hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { };
|
hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { };
|
||||||
|
|
||||||
|
hsh = callPackage ../development/python-modules/hsh { };
|
||||||
|
|
||||||
hsluv = callPackage ../development/python-modules/hsluv { };
|
hsluv = callPackage ../development/python-modules/hsluv { };
|
||||||
|
|
||||||
hstspreload = callPackage ../development/python-modules/hstspreload { };
|
hstspreload = callPackage ../development/python-modules/hstspreload { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user