diff --git a/horizon.dhall b/horizon.dhall index 616321a017f01a8e33ecef4d05d1dac1c3706f8e..a145fe76e90ffe02fe8fd94e4346e729cb7c599d 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -69,6 +69,7 @@ in H.HorizonExport.MakePackageSet , H.callHackage "alex" "3.2.7.1" , H.callHackage "algebraic-graphs" "0.7" , H.callHackage "alsa-core" "0.5.0.1" + , H.callHackage "alsa-mixer" "0.3.0" , H.callHackage "ansi-terminal" "0.11.3" , H.callHackage "ansi-wl-pprint" "0.6.9" , H.callHackage "appar" "0.1.8" diff --git a/initial-packages.nix b/initial-packages.nix index 626e9731956f5d373d0d1705b65b6cb765e45d87..9238edd0c30d16b2cb0ac6cb14a2cdf2133ccd7e 100644 --- a/initial-packages.nix +++ b/initial-packages.nix @@ -71,6 +71,8 @@ self: with pkgs.haskell.lib; { alsa-core = self.callPackage (./pkgs/alsa-core.nix) { }; + alsa-mixer = self.callPackage (./pkgs/alsa-mixer.nix) { }; + ansi-terminal = self.callPackage (./pkgs/ansi-terminal.nix) { }; ansi-wl-pprint = self.callPackage (./pkgs/ansi-wl-pprint.nix) { }; diff --git a/pkgs/alsa-mixer.nix b/pkgs/alsa-mixer.nix new file mode 100644 index 0000000000000000000000000000000000000000..955d3fce5e497d973d1046cf07450e4fc1928efb --- /dev/null +++ b/pkgs/alsa-mixer.nix @@ -0,0 +1,23 @@ +{ mkDerivation, alsa-core, alsa-lib, base, c2hs, lib, unix }: +mkDerivation { + pname = "alsa-mixer"; + version = "0.3.0"; + sha256 = "cb6a197de99c6b4339a7f552e1c6b71eaefa11bb96102d5ba4519a23c615de02"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ alsa-core base unix ]; + librarySystemDepends = [ alsa-lib ]; + libraryToolDepends = [ c2hs ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/ttuegel/alsa-mixer"; + description = "Bindings to the ALSA simple mixer API"; + license = lib.licenses.bsd3; + broken = false; +}