diff options
Diffstat (limited to 'pkgs/misc/sndio/default.nix')
-rw-r--r-- | pkgs/misc/sndio/default.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/misc/sndio/default.nix b/pkgs/misc/sndio/default.nix index a65c0cd7b0f50..2da49d1f45bca 100644 --- a/pkgs/misc/sndio/default.nix +++ b/pkgs/misc/sndio/default.nix @@ -1,12 +1,12 @@ { lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "sndio"; version = "1.9.0"; src = fetchurl { - url = "https://www.sndio.org/sndio-${version}.tar.gz"; - sha256 = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo="; + url = "https://www.sndio.org/sndio-${finalAttrs.version}.tar.gz"; + hash = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo="; }; nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; @@ -19,11 +19,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with lib; { + meta = { homepage = "https://www.sndio.org"; description = "Small audio and MIDI framework part of the OpenBSD project"; - license = licenses.isc; - maintainers = with maintainers; [ Madouura ]; - platforms = platforms.all; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ Madouura ]; + platforms = lib.platforms.all; }; -} +}) |