1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "onetimepad"; 8 version = "1.4"; 9 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1eaade76d8036e1cb79e944b75874bfe5ee4046a571c0724564e1721565c73fd"; 15 }; 16 17 # upstream has no tests 18 doCheck = false; 19 20 pythonImportsCheck = [ "onetimepad" ]; 21 22 meta = { 23 description = "A hacky implementation of one-time pad"; 24 homepage = "https://jailuthra.in/onetimepad"; 25 license = lib.licenses.mit; 26 maintainers = with lib.maintainers; [ dotlambda ]; 27 }; 28}