nixpkgs/pkgs/development/python-modules/sphfile/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

25 lines
629 B
Nix

{ lib, fetchurl, buildPythonPackage, numpy }:
buildPythonPackage rec {
pname = "sphfile";
version = "1.0.3";
format = "setuptools";
src = fetchurl {
url = "mirror://pypi/s/sphfile/${pname}-${version}.tar.gz";
sha256 = "1596d801facc2b03a40a1bc67a839701f068a41597059feb82fc9378420c52c0";
};
propagatedBuildInputs = [ numpy ];
doCheck = false;
meta = with lib; {
description = "Numpy-based NIST SPH audio-file reader";
homepage = "https://github.com/mcfletch/sphfile";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.unix;
};
}