Commit f7f62b2c authored by kashw2's avatar kashw2 Committed by Matthieu Coudron
Browse files

aucatctl: use `finalAttrs` pattern

parent 78dc431e
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, sndio, libbsd }:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "aucatctl";
  version = "0.1";

  src = fetchurl {
    url = "http://www.sndio.org/${pname}-${version}.tar.gz";
    url = "http://www.sndio.org/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
    sha256 = "524f2fae47db785234f166551520d9605b9a27551ca438bd807e3509ce246cf0";
  };

@@ -27,11 +27,10 @@ stdenv.mkDerivation rec {
    '';

  meta = with lib; {
    description =
      "The aucatctl utility sends MIDI messages to control sndiod and/or aucat volumes";
    description = "The aucatctl utility sends MIDI messages to control sndiod and/or aucat volumes";
    homepage = "http://www.sndio.org";
    license = licenses.isc;
    maintainers = with maintainers; [ sna ];
    platforms = platforms.unix;
  };
}
})