summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylast
diff options
context:
space:
mode:
authorRoman Volosatovs <rvolosatovs@users.noreply.github.com>2017-06-25 09:32:05 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-06-25 08:32:05 +0100
commit69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f (patch)
treee221420ec87b4d2ca8c9463367de0fbaf93f7d3d /pkgs/development/python-modules/pylast
parent6aad18a668e45c6cd664076b6bf890fb030b8bb1 (diff)
downloadnixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar.gz
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar.bz2
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar.lz
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar.xz
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.tar.zst
nixlib-69eddfa090e9cf6c16c198aed7ad7b3fbe8a0f1f.zip
pythonPackages.pylast: 0.5.11 -> 1.8.0 (#26825)
* maintainers: add rvolosatovs

* pythonPackages.pylast: 0.5.11 -> 1.8.0

* pythonPackages.pylast: refactor

- Update homepage
- Add rvolosatovs to maintainers
- Fix test comment

* pylast: move out of python-packages.nix
Diffstat (limited to 'pkgs/development/python-modules/pylast')
-rw-r--r--pkgs/development/python-modules/pylast/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pylast/default.nix b/pkgs/development/python-modules/pylast/default.nix
new file mode 100644
index 000000000000..aa0d1d5f575d
--- /dev/null
+++ b/pkgs/development/python-modules/pylast/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi, certifi, six }:
+
+buildPythonPackage rec {
+  pname = "pylast";
+  version = "1.8.0";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "85f8dd96aef0ccba5f80379c3d7bc1fabd72f59aebab040daf40a8b72268f9bd";
+  };
+
+  propagatedBuildInputs = [ certifi six ];
+
+  # tests require last.fm credentials
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/pylast/pylast";
+    description = "A python interface to last.fm (and compatibles)";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ rvolosatovs ];
+  };
+}