polarity: latest-unstable-2025-01-08 -> latest-unstable-2025-01-23 (#376222)
[NixPkgs.git] / pkgs / development / python-modules / onetimepad / default.nix
blobaffa6182b7d7017c3ddc239331e1d24eb59a410a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5 }:
7 buildPythonPackage rec {
8   pname = "onetimepad";
9   version = "1.4";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "1eaade76d8036e1cb79e944b75874bfe5ee4046a571c0724564e1721565c73fd";
16   };
18   # upstream has no tests
19   doCheck = false;
21   pythonImportsCheck = [ "onetimepad" ];
23   meta = {
24     description = "Hacky implementation of one-time pad";
25     mainProgram = "onetimepad";
26     homepage = "https://jailuthra.in/onetimepad";
27     license = lib.licenses.mit;
28     maintainers = with lib.maintainers; [ dotlambda ];
29   };