From 9e4538112ac0b2579cb140abb7798becb3af100e Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 1 Dec 2016 17:49:30 +0100 Subject: [PATCH] pythonPackages.acoustics: init at 0.1.2 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0808f609387..09f35be2798 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -41,6 +41,30 @@ in { setuptools = callPackage ../development/python-modules/setuptools { }; + acoustics = buildPythonPackage rec { + pname = "acoustics"; + version = "0.1.2"; + name = pname + "-" + version; + + buildInputs = with self; [ cython pytest ]; + propagatedBuildInputs = with self; [ numpy scipy matplotlib pandas tabulate ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "b75a47de700d01e704de95953a6e969922b2f510d7eefe59f7f8980ad44ad1b7"; + }; + + # Tests not distributed + doCheck = false; + + meta = { + description = "A package for acousticians"; + maintainer = with maintainers; [ fridh ]; + license = with licenses; [ bsd ]; + homepage = https://github.com/python-acoustics/python-acoustics; + }; + }; + agate = buildPythonPackage rec { name = "agate-1.2.2"; disabled = isPy3k;