Files
nixpkgs/pkgs/development/python-modules/onetimepad/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

30 lines
607 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "onetimepad";
version = "1.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1eaade76d8036e1cb79e944b75874bfe5ee4046a571c0724564e1721565c73fd";
};
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "onetimepad" ];
meta = {
description = "A hacky implementation of one-time pad";
mainProgram = "onetimepad";
homepage = "https://jailuthra.in/onetimepad";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}