1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/sphfile/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
602 B
Nix

{ lib, fetchurl, buildPythonPackage, numpy }:
buildPythonPackage rec {
pname = "sphfile";
version = "1.0.1";
src = fetchurl {
url = "mirror://pypi/s/sphfile/${pname}-${version}.tar.gz";
sha256 = "422b0704107b02ef3ca10e55ccdc80b0bb5ad8e2613b6442f8e2ea372c7cf5d8";
};
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;
};
}