default.nix (667B)
1 { lib, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "mikatools"; 5 version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "mikahama"; 9 repo = "mikatools"; 10 rev = version; 11 hash = "sha256-CfukGTPT0Yv4Q2H+g7XJfNgNchhslaA7/mgupqlOQ+o="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ requests clint cryptography ]; 15 16 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 17 18 meta = with lib; { 19 description = "Mikatools provides fast and easy methods for common Python coding tasks"; 20 inherit (src.meta) homepage; 21 license = licenses.mit; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }