nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 627 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "arc4"; 10 version = "0.4.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "manicmaniac"; 15 repo = "arc4"; 16 rev = version; 17 hash = "sha256-DlZIygf5v3ZNY2XFmrKOA15ccMo3Rv0kf6hZJ0CskeQ="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "arc4" ]; 23 24 meta = { 25 description = "ARCFOUR (RC4) cipher implementation"; 26 homepage = "https://github.com/manicmaniac/arc4"; 27 license = with lib.licenses; [ bsd3 ]; 28 maintainers = with lib.maintainers; [ fab ]; 29 }; 30}