nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 723 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "python-pae"; 11 version = "0.1.0"; 12 pyproject = true; 13 14 # Tests are on GitHub 15 src = fetchFromGitHub { 16 owner = "MatthiasValvekens"; 17 repo = "python-pae"; 18 rev = version; 19 hash = "sha256-D0X2T0ze79KR6Gno4UWpA/XvlkK6Y/jXUtLbzlOKr3E="; 20 }; 21 22 nativeBuildInputs = [ poetry-core ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "python_pae" ]; 27 28 meta = { 29 description = "Pre-authentication encoding (PAE) implementation in Python"; 30 homepage = "https://github.com/MatthiasValvekens/python-pae"; 31 license = lib.licenses.mit; 32 maintainers = [ ]; 33 }; 34}