python.pkgs.audioread: move expression
This commit is contained in:
parent
abdb58e407
commit
a25e324e06
24
pkgs/development/python-modules/audioread/default.nix
Normal file
24
pkgs/development/python-modules/audioread/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
@ -709,24 +709,7 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
audioread = buildPythonPackage rec {
|
audioread = callPackage ../development/python-modules/audioread { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
audiotools = buildPythonPackage rec {
|
audiotools = buildPythonPackage rec {
|
||||||
name = "audiotools-${version}";
|
name = "audiotools-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user