diff options
Diffstat (limited to 'pkgs/by-name/ti')
-rw-r--r-- | pkgs/by-name/ti/tinyalsa/package.nix | 37 | ||||
-rw-r--r-- | pkgs/by-name/ti/tinycompress/package.nix | 22 |
2 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/by-name/ti/tinyalsa/package.nix b/pkgs/by-name/ti/tinyalsa/package.nix new file mode 100644 index 000000000000..cae778227c73 --- /dev/null +++ b/pkgs/by-name/ti/tinyalsa/package.nix @@ -0,0 +1,37 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "tinyalsa"; + version = "unstable-2022-06-05"; + + src = fetchFromGitHub { + owner = "tinyalsa"; + repo = "tinyalsa"; + rev = "3d70d227e7dfd1be6f8f420a5aae164a2b4126e0"; + hash = "sha256-RHeF3VShy+LYFtJK+AEU7swIr5/rnpg2fdllnH9cFCk="; + }; + + nativeBuildInputs = [ + cmake + ]; + + cmakeFlags = [ + "-DTINYALSA_USES_PLUGINS=ON" + ]; + + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=sign-compare" + ]; + + meta = with lib; { + homepage = "https://github.com/tinyalsa/tinyalsa"; + description = "Tiny library to interface with ALSA in the Linux kernel"; + license = licenses.mit; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; linux; + }; +} diff --git a/pkgs/by-name/ti/tinycompress/package.nix b/pkgs/by-name/ti/tinycompress/package.nix new file mode 100644 index 000000000000..96b82bc696fc --- /dev/null +++ b/pkgs/by-name/ti/tinycompress/package.nix @@ -0,0 +1,22 @@ +{ lib +, stdenv +, fetchurl +}: + +stdenv.mkDerivation rec { + pname = "tinycompress"; + version = "1.2.8"; + + src = fetchurl { + url = "mirror://alsa/tinycompress/${pname}-${version}.tar.bz2"; + hash = "sha256-L4l+URLNO8pnkLXOz9puBmLIvF7g+6uXKyR6DMYg1mw="; + }; + + meta = with lib; { + homepage = "http://www.alsa-project.org/"; + description = "a userspace library for anyone who wants to use the ALSA compressed APIs"; + license = licenses.bsd3; + platforms = platforms.linux; + maintainers = with maintainers; [ k900 ]; + }; +} |