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: 4fb4b69d9b1c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5304f52bc7d7
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 17, 2020

  1. python3Packages.sacn: init at 1.4.6

    mweinelt authored and Jon committed Oct 17, 2020
    Copy the full SHA
    73eea3d View commit details
  2. python3Packages.aubio: init at 0.4.9

    mweinelt authored and Jon committed Oct 17, 2020
    Copy the full SHA
    5304f52 View commit details
Showing with 67 additions and 0 deletions.
  1. +35 −0 pkgs/development/python-modules/aubio/default.nix
  2. +28 −0 pkgs/development/python-modules/sacn/default.nix
  3. +4 −0 pkgs/top-level/python-packages.nix
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/aubio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "aubio";
version = "0.4.9";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0fhxikvlr010nbh02g455d5y8bq6j5yw180cdh4gsd0hb43y3z26";
};

propagatedBuildInputs = [
numpy
];

checkInputs = [
pytestCheckHook
];

pythonImportsCheck = [ "aubio" ];

meta = with lib; {
description = "a library for audio and music analysis";
homepage = "https://aubio.org";
licenses = license.gpl3;
maintainers = with maintainers; [ hexa ];
};
}
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/sacn/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:

buildPythonPackage rec {
pname = "sacn";
version = "1.4.6";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "015wa9nhqgd0kb60bw19g86ga25s9mpvsbqkahi3kw6df6j0wzss";
};

# no tests
doCheck = false;

pythonImportsCheck = [ "sacn" ];

meta = with lib; {
description = "A simple ANSI E1.31 (aka sACN) module for python";
homepage = "https://github.com/Hundemeier/sacn";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -452,6 +452,8 @@ in {

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

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

audio-metadata = callPackage ../development/python-modules/audio-metadata { };

audioread = callPackage ../development/python-modules/audioread { };
@@ -6311,6 +6313,8 @@ in {

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

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

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

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