at master 719 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 xmod, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "dek"; 12 version = "1.4.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "rec"; 17 repo = "dek"; 18 rev = "v${version}"; 19 hash = "sha256-DYODdImTRCukGmGbkZ+9TQeI9DYaeRd/EHS6VND5IDs="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ xmod ]; 25 26 nativeBuildInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "dek" ]; 29 30 meta = with lib; { 31 description = "Decorator-decorator"; 32 homepage = "https://github.com/rec/dek"; 33 changelog = "https://github.com/rec/dek/blob/${src.rev}/CHANGELOG"; 34 license = licenses.mit; 35 maintainers = [ ]; 36 }; 37}