Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation { 9 pname = "pycdc"; 10 version = "0-unstable-2024-10-13"; 11 12 src = fetchFromGitHub { 13 owner = "zrax"; 14 repo = "pycdc"; 15 rev = "5e1c4037a96b966e4e6728c55b2d7ee8076a13c3"; 16 hash = "sha256-c/mfM2I8Rw136aQ3IAQOkkrOEtZ5LC/xKuWXzCItW2w="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = { 22 description = "C++ python bytecode disassembler and decompiler"; 23 homepage = "https://github.com/zrax/pycdc"; 24 license = lib.licenses.gpl3Only; 25 maintainers = with lib.maintainers; [ msm ]; 26 mainProgram = "pycdc"; 27 }; 28}