nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 57 lines 1.0 kB view raw
1{ 2 stdenv, 3 lib, 4 docutils, 5 fetchFromGitLab, 6 meson, 7 ninja, 8 pkg-config, 9 gupnp_1_6, 10 gupnp-av, 11 gupnp-dlna, 12}: 13 14stdenv.mkDerivation (finalAttrs: { 15 pname = "dleyna"; 16 version = "0.8.3"; 17 18 outputs = [ 19 "out" 20 "dev" 21 ]; 22 23 src = fetchFromGitLab { 24 domain = "gitlab.gnome.org"; 25 owner = "World"; 26 repo = "dLeyna"; 27 tag = "v${finalAttrs.version}"; 28 hash = "sha256-ti4yF8sALpWyrdQTt/jVrMKQ4PLhakEi620fJNMxT0c="; 29 }; 30 31 nativeBuildInputs = [ 32 meson 33 ninja 34 docutils 35 pkg-config 36 ]; 37 38 buildInputs = [ 39 gupnp_1_6 40 gupnp-dlna 41 gupnp-av 42 gupnp-dlna 43 ]; 44 45 mesonFlags = [ 46 # Sphinx docs not installed, do not depend on sphinx 47 "-Ddocs=false" 48 ]; 49 50 meta = { 51 description = "Library of utility functions that are used by the higher level dLeyna"; 52 homepage = "https://gitlab.gnome.org/World/dLeyna"; 53 maintainers = with lib.maintainers; [ jtojnar ]; 54 platforms = lib.platforms.unix; 55 license = lib.licenses.lgpl21Only; 56 }; 57})