Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 70 lines 1.2 kB view raw
1{ 2 stdenv, 3 callPackage, 4 cmake, 5 pkg-config, 6 gobject-introspection, 7 vala, 8 glib, 9 libsndfile, 10 zlib, 11 bzip2, 12 xz, 13 libsamplerate, 14 intltool, 15 pcre, 16 util-linux, 17 libselinux, 18 libsepol, 19}: 20 21let 22 inherit 23 (callPackage ./common-drv-attrs.nix { 24 version = "3.2.10"; 25 pname = "libmirage"; 26 hash = "sha256-+T5Gu3VcprCkSJcq/kTySRnNI7nc+GbRtctLkzPhgK4="; 27 }) 28 pname 29 version 30 src 31 meta 32 ; 33in 34stdenv.mkDerivation { 35 inherit pname version src; 36 37 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0"; 38 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0"; 39 buildInputs = [ 40 glib 41 libsndfile 42 zlib 43 bzip2 44 xz 45 libsamplerate 46 ]; 47 nativeBuildInputs = [ 48 cmake 49 pkg-config 50 intltool 51 gobject-introspection 52 vala 53 ]; 54 propagatedBuildInputs = [ 55 pcre 56 util-linux 57 libselinux 58 libsepol 59 ]; 60 61 meta = { 62 inherit (meta) 63 maintainers 64 license 65 platforms 66 ; 67 description = "CD-ROM image access library"; 68 homepage = "https://cdemu.sourceforge.io/about/libmirage/"; 69 }; 70}