mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
41 lines
1003 B
Nix
41 lines
1003 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "opentimestamps-client";
|
|
version = "0.7.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "opentimestamps";
|
|
repo = "opentimestamps-client";
|
|
rev = "refs/tags/opentimestamps-client-v${version}";
|
|
hash = "sha256-0dWaXetRlF1MveBdJ0sAdqJ5HCdn08gkbX+nen/ygsQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
appdirs
|
|
gitpython
|
|
opentimestamps
|
|
pysocks
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"otsclient"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Command-line tool to create and verify OpenTimestamps proofs";
|
|
homepage = "https://github.com/opentimestamps/opentimestamps-client";
|
|
changelog = "https://github.com/opentimestamps/opentimestamps-client/releases/tag/opentimestamps-client-v${version}";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ erikarvstedt ];
|
|
};
|
|
}
|