1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "viewstate"; 11 version = "0.6.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "yuvadm"; 16 repo = pname; 17 tag = "v${version}"; 18 sha256 = "sha256-cXT5niE3rNdqmNqnITWy9c9/MF0gZ6LU2i1uzfOzkUI="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 nativeCheckInputs = [ 24 pytestCheckHook 25 ]; 26 27 meta = { 28 description = ".NET viewstate decoder"; 29 homepage = "https://github.com/yuvadm/viewstate"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ kamadorueda ]; 32 }; 33}