default.nix (775B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "mikatools"; 9 version = "1.0.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "mikahama"; 14 repo = "mikatools"; 15 tag = version; 16 hash = "sha256-2YpRTSZWJVXMoTLDBFS+tFkmA8pOBsqWF7Z85gtIfY0="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 requests 23 cryptography 24 tqdm 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 28 29 meta = { 30 description = "Mikatools provides fast and easy methods for common Python coding tasks"; 31 homepage = "https://github.com/mikahama/mikatools"; 32 license = lib.licenses.mit; 33 maintainers = [ lib.maintainers.sikmir ]; 34 }; 35 }