nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 30 lines 458 B view raw
1{ 2 buildPythonPackage, 3 bencodetools, 4 pytestCheckHook, 5 setuptools, 6}: 7buildPythonPackage { 8 inherit (bencodetools) pname version src; 9 pyproject = true; 10 11 nativeBuildInputs = [ setuptools ]; 12 13 nativeCheckInputs = [ pytestCheckHook ]; 14 15 dontConfigure = true; 16 17 pythonImportsCheck = [ 18 "bencode" 19 "typevalidator" 20 ]; 21 22 meta = { 23 inherit (bencodetools.meta) 24 description 25 homepage 26 license 27 maintainers 28 ; 29 }; 30}