diff --git a/pkgs/tools/misc/opentimestamps-client/default.nix b/pkgs/tools/misc/opentimestamps-client/default.nix new file mode 100644 index 000000000000..a062aa992be6 --- /dev/null +++ b/pkgs/tools/misc/opentimestamps-client/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonApplication, fetchFromGitHub, isPy3k +, opentimestamps, GitPython, pysocks }: + +buildPythonApplication rec { + name = "opentimestamps-client-${version}"; + version = "0.5.1"; + disabled = (!isPy3k); + + src = fetchFromGitHub { + owner = "opentimestamps"; + repo = "opentimestamps-client"; + rev = "opentimestamps-client-v0.5.1"; + sha256 = "0s549xkb75r5wyvjlfmac8a1df6w0y55l98f492zsihdns1d6rzq"; + }; + + propagatedBuildInputs = [ opentimestamps GitPython pysocks ]; + + meta = { + description = "Command-line tool to create and verify OpenTimestamps proofs"; + homepage = https://github.com/opentimestamps/opentimestamps-client; + license = lib.licenses.lgpl3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d5c017f8d93a..04d38e9d8fff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16860,6 +16860,8 @@ with pkgs; openscad = callPackage ../applications/graphics/openscad {}; + opentimestamps-client = python3Packages.callPackage ../tools/misc/opentimestamps-client {}; + opentx = callPackage ../applications/misc/opentx { }; opera = callPackage ../applications/networking/browsers/opera {};