Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 379f7595d29d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 800dd4b7da5c
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 22, 2020

  1. python3Packages.simpleaudio: init at 1.0.4

    Lucus16 authored and Jon committed Apr 22, 2020
    Copy the full SHA
    800dd4b View commit details
Showing with 26 additions and 0 deletions.
  1. +24 −0 pkgs/development/python-modules/simpleaudio/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/simpleaudio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ alsaLib, buildPythonPackage, fetchFromGitHub, isPy27, lib }:

buildPythonPackage rec {
pname = "simpleaudio";
version = "1.0.4";
disabled = isPy27;

src = fetchFromGitHub {
owner = "hamiltron";
repo = "py-simple-audio";
rev = version;
sha256 = "12nypzb1m14yip4zrbzin5jc5awyp1d5md5y40g5anj4phb4hx1i";
};

buildInputs = [ alsaLib ];

meta = with lib; {
homepage = "https://github.com/hamiltron/py-simple-audio";
description =
"A simple audio playback Python extension - cross-platform, asynchronous, dependency-free";
license = licenses.mit;
maintainers = with maintainers; [ lucus16 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1465,6 +1465,8 @@ in {

shellingham = callPackage ../development/python-modules/shellingham {};

simpleaudio = callPackage ../development/python-modules/simpleaudio { };

simpleeval = callPackage ../development/python-modules/simpleeval { };

simple-salesforce = callPackage ../development/python-modules/simple-salesforce { };