1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, commentjson 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "resolvelib"; 10 # Currently this package is only used by Ansible and breaking changes 11 # are frequently introduced, so when upgrading ensure the new version 12 # is compatible with Ansible 13 # https://github.com/NixOS/nixpkgs/pull/128636 14 # https://github.com/ansible/ansible/blob/devel/requirements.txt 15 version = "0.5.5"; 16 17 src = fetchFromGitHub { 18 owner = "sarugaku"; 19 repo = "resolvelib"; 20 rev = version; 21 sha256 = "198vfv78hilpg0d0mjzchzp9zk6239wnra61vlsgwpcgz66d2bgv"; 22 }; 23 24 checkInputs = [ 25 commentjson 26 pytestCheckHook 27 ]; 28 29 meta = with lib; { 30 description = "Resolve abstract dependencies into concrete ones"; 31 homepage = "https://github.com/sarugaku/resolvelib"; 32 license = licenses.isc; 33 maintainers = with maintainers; [ hexa ]; 34 }; 35}