1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "frozenlist2"; 10 version = "1.0.0"; 11 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "rohanpm"; 16 repo = "frozenlist2"; 17 rev = "v${version}"; 18 hash = "sha256-fF0oFZ2q1wRH7IKBlCjm3Za4xtEMSHyEaGL09rHgtTY="; 19 }; 20 21 propagatedBuildInputs = [ setuptools ]; 22 23 pythonImportsCheck = [ "frozenlist2" ]; 24 25 meta = with lib; { 26 description = "Immutable list for Python"; 27 homepage = "https://github.com/rohanpm/frozenlist2"; 28 license = licenses.gpl3Plus; 29 maintainers = with maintainers; [ t4ccer ]; 30 }; 31}