Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 32 lines 736 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "precis-i18n"; 9 version = "1.0.5"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "byllyfish"; 16 repo = "precis_i18n"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-DSm+KomveGs9ZzNFiT0B1gAjx2fh0BaUdKW0J+kW24U="; 19 }; 20 21 pythonImportsCheck = [ 22 "precis_i18n" 23 ]; 24 25 meta = with lib; { 26 description = "Internationalized usernames and passwords"; 27 homepage = "https://github.com/byllyfish/precis_i18n"; 28 changelog = "https://github.com/byllyfish/precis_i18n/blob/v${version}/CHANGELOG.rst"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ ]; 31 }; 32}