lol

python310Packages.rencode: 1.0.6 -> unstable-2021-08-10

fixes CVE-2021-40839

+18 -6
+18 -6
pkgs/development/python-modules/rencode/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , cython 5 + , pytestCheckHook 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "rencode"; 9 - version = "1.0.6"; 10 + version = "unstable-2021-08-10"; 11 + 12 + format = "setuptools"; 10 13 11 14 src = fetchFromGitHub { 12 15 owner = "aresch"; 13 16 repo = "rencode"; 14 - rev = "v${version}"; 15 - sha256 = "sha256-PGjjrZuoGYSPMNqXG1KXoZnOoWIe4g6s056jFhqrJ60="; 17 + rev = "572ff74586d9b1daab904c6f7f7009ce0143bb75"; 18 + hash = "sha256-cL1hV3RMDuSdcjpPXXDYIEbzQrxiPeRs82PU8HTEQYk="; 16 19 }; 17 20 18 - buildInputs = [ cython ]; 21 + nativeBuildInputs = [ cython ]; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + ]; 26 + 27 + preCheck = '' 28 + # import from $out 29 + rm -r rencode 30 + ''; 19 31 20 32 meta = with lib; { 21 33 homepage = "https://github.com/aresch/rencode"; 22 34 description = "Fast (basic) object serialization similar to bencode"; 23 - license = licenses.gpl3; 35 + license = licenses.gpl3Plus; 36 + maintainers = with maintainers; [ ]; 24 37 }; 25 - 26 38 }