xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / hsh / default.nix
blobf7efbc14e8aec2c92a4e973605320a84a45ed8b7
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   commandlines,
6   unittestCheckHook,
7   pexpect,
8   naked,
9   setuptools,
10   wheel,
13 buildPythonPackage rec {
14   pname = "hsh";
15   version = "1.1.0";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "chrissimpkins";
20     repo = "hsh";
21     rev = "v${version}";
22     hash = "sha256-bAAytoidFHH2dSXqN9aqBd2H4p/rwTWXIZa1t5Djdz0=";
23   };
25   propagatedBuildInputs = [ commandlines ];
27   nativeBuildInputs = [
28     setuptools
29     wheel
30   ];
32   nativeCheckInputs = [
33     unittestCheckHook
34     pexpect
35     naked
36   ];
38   preCheck = "cd tests";
40   pythonImportsCheck = [ "hsh" ];
42   meta = with lib; {
43     description = "Cross-platform command line application that generates file hash digests and performs file integrity checks via file hash digest comparisons";
44     homepage = "https://github.com/chrissimpkins/hsh";
45     downloadPage = "https://github.com/chrissimpkins/hsh/releases";
46     license = licenses.mit;
47     maintainers = [ maintainers.lucasew ];
48   };