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: f20fad98944a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f33e380e3044
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 5, 2019

  1. pythonPackages.resampy: Fix build

    (cherry picked from commit 8e1afe7)
    ZHF: #56826
    knedlsepp authored and worldofpeace committed Mar 5, 2019
    Copy the full SHA
    98a9e8f View commit details
  2. pythonPackages.resampy: enable tests

    (cherry picked from commit d830bfb)
    ZHF: #56826
    worldofpeace committed Mar 5, 2019
    Copy the full SHA
    f33e380 View commit details
Showing with 12 additions and 7 deletions.
  1. +12 −7 pkgs/development/python-modules/resampy/default.nix
19 changes: 12 additions & 7 deletions pkgs/development/python-modules/resampy/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytest
, pytestcov
, numpy
, scipy
, cython
, numba
, six
}:

buildPythonPackage rec {
pname = "resampy";
version = "0.2.1";

src = fetchPypi {
inherit pname version;
sha256 = "7f6912ca2b746eb9bcdc05c52fcef088f0b7ba1ca6ee0b2d0a359d18fc57f8f8";
# No tests in PyPi Archive
src = fetchFromGitHub {
owner = "bmcfee";
repo = pname;
rev = version;
sha256 = "0a2bxj042y62dimm2i4vglbhpwbybam07mcl67cb6pmfsw9fbqhj";
};

checkInputs = [ pytest pytestcov ];
propagatedBuildInputs = [ numpy scipy cython six ];
propagatedBuildInputs = [ numpy scipy cython numba six ];

# No tests included
doCheck = false;
checkPhase = ''
pytest tests
'';

meta = with stdenv.lib; {
homepage = https://github.com/bmcfee/resampy;