python.pkgs: move my several packages to separate files
This commit is contained in:
23
pkgs/development/python-modules/hmmlearn/default.nix
Normal file
23
pkgs/development/python-modules/hmmlearn/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ lib, fetchurl, buildPythonPackage, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "hmmlearn-${version}";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hmmlearn/${name}.tar.gz";
|
||||
sha256 = "0qc3fkdyrgfg31y1a8jzs83dxkjw78pqkdm44lll1iib63w4cik9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Hidden Markov Models in Python with scikit-learn like API";
|
||||
homepage = "https://github.com/hmmlearn/hmmlearn";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/pychromecast/default.nix
Normal file
21
pkgs/development/python-modules/pychromecast/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyChromecast-${version}";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
||||
sha256 = "05rlr2hjng0xg2a9k9vwmrlvd7vy9sjhxxfl96kx25xynlkq6yq6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests six zeroconf protobuf ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
|
||||
homepage = "https://github.com/balloob/pychromecast";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/sphfile/default.nix
Normal file
23
pkgs/development/python-modules/sphfile/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ lib, fetchurl, buildPythonPackage, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "sphfile-${version}";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/s/sphfile/${name}.tar.gz";
|
||||
sha256 = "1ly9746xrzbiax9cxr5sxlg0wvf6fdxcrgwsqqxckk3wnqfypfrd";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user