summary refs log tree commit diff
path: root/pkgs/development/python-modules/secretstorage
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2017-08-28 02:11:20 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-09-07 09:28:02 +0200
commitf31c6c150a714f4ceb7bc27b416f0c104ab560ca (patch)
tree866b62b900518b295b2fce73002404571d7a252b /pkgs/development/python-modules/secretstorage
parentcec4dcb7bbfb6c81b99bd4b5d113fdb2351b0f35 (diff)
downloadnixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar.gz
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar.bz2
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar.lz
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar.xz
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.tar.zst
nixlib-f31c6c150a714f4ceb7bc27b416f0c104ab560ca.zip
python.pkgs.secretstorage: init at 2.3.1
Diffstat (limited to 'pkgs/development/python-modules/secretstorage')
-rw-r--r--pkgs/development/python-modules/secretstorage/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/secretstorage/default.nix b/pkgs/development/python-modules/secretstorage/default.nix
new file mode 100644
index 000000000000..e37e87f7d88e
--- /dev/null
+++ b/pkgs/development/python-modules/secretstorage/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, buildPythonPackage
+, dbus-python, cryptography }:
+
+buildPythonPackage rec {
+  pname = "secretstorage";
+  version = "2.3.1";
+  name = "${pname}-${version}";
+
+  src = fetchFromGitHub {
+    owner = "mitya57";
+    repo = "secretstorage";
+    rev = version;
+    sha256 = "1sjd2jjbxgkkxyrfwx89x0hsnn39w2cr2qkxbg1iz52znr4sqism";
+  };
+
+  propagatedBuildInputs = [ dbus-python cryptography ];
+
+  doCheck = false; # requires dbus session
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/mitya57/secretstorage";
+    description = "Python bindings to FreeDesktop.org Secret Service API";
+    license = licenses.bsdOriginal;
+    platforms = platforms.linux;
+    maintainer = with maintainers; [ teto ];
+  };
+}