default.nix (622B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "tinynetrc"; 9 version = "1.3.1"; 10 11 src = fetchFromGitHub { 12 owner = "sloria"; 13 repo = "tinynetrc"; 14 rev = version; 15 hash = "sha256-iy0sa1oqJeZxSfXISI7Ypbml8+SGHhRZkznTdbI5yAo="; 16 }; 17 18 nativeCheckInputs = with python3Packages; [ 19 pytestCheckHook 20 ]; 21 22 pythonImportsCheck = [ "tinynetrc" ]; 23 24 meta = { 25 description = "Read and write .netrc files in Python"; 26 homepage = "https://github.com/sloria/tinynetrc"; 27 license = lib.licenses.mit; 28 maintainers = [ lib.maintainers.sikmir ]; 29 }; 30 }