Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 35 lines 803 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libX11, 6 libxcb, 7 pkg-config, 8 xcbutil, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "libstartup-notification"; 13 version = "0.12"; 14 src = fetchurl { 15 url = "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-${version}.tar.gz"; 16 sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a"; 17 }; 18 19 configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 20 "lf_cv_sane_realloc=yes" 21 ]; 22 23 nativeBuildInputs = [ pkg-config ]; 24 buildInputs = [ 25 libX11 26 libxcb 27 xcbutil 28 ]; 29 30 meta = { 31 homepage = "https://www.freedesktop.org/software/startup-notification"; 32 description = "Application startup notification and feedback library"; 33 license = lib.licenses.lgpl2; 34 }; 35}