Commit a25e324e authored by Frederik Rietdijk's avatar Frederik Rietdijk
Browse files

python.pkgs.audioread: move expression

parent abdb58e4
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "audioread";
  name = "${pname}-${version}";
  version = "2.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ffb601de7a9e40850d4ec3256a3a6bbe8fa40466dafb5c65f41b08e4bb963f1e";
  };

  # No tests, need to disable or py3k breaks
  doCheck = false;

  meta = {
    description = "Cross-platform audio decoding";
    homepage = "https://github.com/sampsyo/audioread";
    license = lib.licenses.mit;
  };
}
 No newline at end of file
+1 −18
Original line number Diff line number Diff line
@@ -709,24 +709,7 @@ in {
    };
   });
  audioread = buildPythonPackage rec {
    name = "audioread-${version}";
    version = "2.1.1";
    src = pkgs.fetchurl {
      url = "mirror://pypi/a/audioread/${name}.tar.gz";
      sha256 = "ffb601de7a9e40850d4ec3256a3a6bbe8fa40466dafb5c65f41b08e4bb963f1e";
    };
    # No tests, need to disable or py3k breaks
    doCheck = false;
    meta = {
      description = "Cross-platform audio decoding";
      homepage = "https://github.com/sampsyo/audioread";
      license = licenses.mit;
    };
  };
  audioread = callPackage ../development/python-modules/audioread { };
  audiotools = buildPythonPackage rec {
    name = "audiotools-${version}";