From 06a65dd592a62663b15547796b6f11fddb205b31 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 16 Aug 2017 12:03:32 +0200 Subject: ma 5pkgs: cleanup --- makefu/5pkgs/custom/alsa-tools/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 makefu/5pkgs/custom/alsa-tools/default.nix (limited to 'makefu/5pkgs/custom/alsa-tools') diff --git a/makefu/5pkgs/custom/alsa-tools/default.nix b/makefu/5pkgs/custom/alsa-tools/default.nix new file mode 100644 index 000000000..5134c10ec --- /dev/null +++ b/makefu/5pkgs/custom/alsa-tools/default.nix @@ -0,0 +1,26 @@ +{stdenv,alsaToolTarget,fetchurl, alsaLib, ncurses, fltk13, gtk3}: + +stdenv.mkDerivation rec { + name = "alsa-${alsaToolTarget}-${version}"; + alsaToolsName = "alsa-tools-${version}"; + version = "1.0.29"; + + src = fetchurl { + urls = [ + "ftp://ftp.alsa-project.org/pub/tools/${alsaToolsName}.tar.bz2" + "http://alsa.cybermirror.org/tools/${alsaToolsName}.tar.bz2" + + ]; + sha256 = "1lgvyb81md25s9ciswpdsbibmx9s030kvyylf0673w3kbamz1awl"; + }; + sourceRoot = "${alsaToolsName}/${alsaToolTarget}/"; + buildInputs = [ alsaLib fltk13 gtk3 ncurses ]; + + meta = { + homepage = http://www.alsa-project.org/; + description = "ALSA tools - ${name}"; + + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.makefu ]; + }; +} -- cgit v1.2.3