Created
August 1, 2018 08:21
-
-
Save srhb/27725cf011dbb68bef36b16cfa5d2e50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
pyalsaaudio = pythonPackages.buildPythonPackage rec { | |
pname = "pyalsaaudio"; | |
version = "0.8.4"; | |
src = pythonPackages.fetchPypi { | |
inherit pname version; | |
sha256 = "84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085"; | |
}; | |
doCheck = false; | |
buildInputs = [ alsaLib ]; | |
}; | |
in | |
if lib.inNixShell then (python27.withPackages (ps: with ps; [ pyalsaaudio ])).env else pyalsaaudio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment