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