diff options
author | Zeke Stephens <zekestephens@gmail.com> | 2020-09-30 23:06:52 -0400 |
---|---|---|
committer | Zeke Stephens <zekestephens@gmail.com> | 2020-10-02 15:38:52 -0400 |
commit | d1caa9bcaf241a3105dc5b7fd0143d2f9db9cc88 (patch) | |
tree | 7873f72193396587a0679213a00ae590e54e9c28 /pkgs/development/python-modules/py-sonic/default.nix | |
parent | 582f5cea5fa217891a4b999e776ed6fca43aebb5 (diff) |
python3Packages.py-sonic: init at 0.7.7
Diffstat (limited to 'pkgs/development/python-modules/py-sonic/default.nix')
-rw-r--r-- | pkgs/development/python-modules/py-sonic/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py-sonic/default.nix b/pkgs/development/python-modules/py-sonic/default.nix new file mode 100644 index 0000000000000..324d6027bc611 --- /dev/null +++ b/pkgs/development/python-modules/py-sonic/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, isPy27 }: + +buildPythonPackage rec { + pname = "py-sonic"; + version = "0.7.7"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "4cea42a2b0dc2ed0fd8568d6bf0509cfa2675a8b1c347ce9364a00881ebc0272"; + }; + + # package has no tests + doCheck = false; + pythonImportsCheck = [ "libsonic" ]; + + meta = with lib; { + homepage = "https://github.com/crustymonkey/py-sonic"; + description = "A python wrapper library for the Subsonic REST API"; + license = licenses.gpl3; + maintainers = with maintainers; [ ]; + }; +} |