nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 66 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 pkg-config, 5 vala, 6 wrapGAppsHook3, 7 installShellFiles, 8 scdoc, 9 at-spi2-atk, 10 at-spi2-core, 11 dbus, 12 gtk3, 13 ibus, 14 libgee, 15 libx11, 16 snippetexpanderd, 17}: 18 19stdenv.mkDerivation (finalAttrs: { 20 inherit (snippetexpanderd) src version; 21 22 pname = "snippetexpanderx"; 23 24 sourceRoot = "${finalAttrs.src.name}/cmd/snippetexpanderx"; 25 26 nativeBuildInputs = [ 27 pkg-config 28 vala 29 wrapGAppsHook3 30 installShellFiles 31 scdoc 32 ]; 33 34 buildInputs = [ 35 at-spi2-atk 36 at-spi2-core 37 dbus 38 gtk3 39 ibus 40 libgee 41 libx11 42 snippetexpanderd 43 ]; 44 45 makeFlags = [ "VERSION=${finalAttrs.src.rev}" ]; 46 47 installPhase = '' 48 runHook preInstall 49 mkdir -p $out/bin 50 install -m555 snippetexpanderx $out/bin/ 51 installManPage snippetexpanderx.1 52 runHook postInstall 53 ''; 54 55 # There are no tests. 56 doCheck = false; 57 58 meta = { 59 description = "Your little expandable text snippet helper auto expander daemon"; 60 homepage = "https://snippetexpander.org"; 61 license = lib.licenses.gpl2Plus; 62 maintainers = [ ]; 63 platforms = lib.platforms.linux; 64 mainProgram = "snippetexpanderx"; 65 }; 66})