Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 54 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitea, 5 fetchpatch, 6 autoreconfHook, 7 pkg-config, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "libburn"; 12 version = "1.5.6"; 13 14 src = fetchFromGitea { 15 domain = "dev.lovelyhq.com"; 16 owner = "libburnia"; 17 repo = "libburn"; 18 rev = "release-${finalAttrs.version}"; 19 hash = "sha256-Xo45X4374FXvlrJ4Q0PahYvuWXO0k3N0ke0mbURYt54="; 20 }; 21 22 patches = [ 23 # Fix the build against C23 compilers (like gcc-15): 24 (fetchpatch { 25 name = "c23.patch"; 26 url = "https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3.patch"; 27 hash = "sha256-aouU/6AchLhzMzvkVvUnFHWfebYTrkEJ6P3fF5pvE9M="; 28 }) 29 ]; 30 31 nativeBuildInputs = [ 32 autoreconfHook 33 pkg-config 34 ]; 35 36 outputs = [ 37 "out" 38 "man" 39 ]; 40 41 strictDeps = true; 42 43 meta = { 44 homepage = "https://dev.lovelyhq.com/libburnia/web/wiki"; 45 description = "Library by which preformatted data get onto optical media: CD, DVD, BD (Blu-Ray)"; 46 changelog = "https://dev.lovelyhq.com/libburnia/libburn/src/tag/${finalAttrs.src.rev}/ChangeLog"; 47 license = lib.licenses.gpl2Plus; 48 maintainers = with lib.maintainers; [ 49 abbradar 50 ]; 51 mainProgram = "cdrskin"; 52 platforms = lib.platforms.unix; 53 }; 54})