ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / arc4 / default.nix
blob9621877003585123f8058ce339c2cfd43e92e95b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "arc4";
10   version = "0.3.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "manicmaniac";
17     repo = pname;
18     rev = version;
19     hash = "sha256-z8zj46/xX/gXtWzlmnHuAsnK3xYCL4NM5/xpYcH+Qlo=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "arc4"
28   ];
30   meta = with lib; {
31     description = "ARCFOUR (RC4) cipher implementation";
32     homepage = "https://github.com/manicmaniac/arc4";
33     license = with licenses; [ bsd3 ];
34     maintainers = with maintainers; [ fab ];
35   };