From f31c6c150a714f4ceb7bc27b416f0c104ab560ca Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 28 Aug 2017 02:11:20 +0200 Subject: [PATCH] python.pkgs.secretstorage: init at 2.3.1 --- lib/maintainers.nix | 1 + .../python-modules/secretstorage/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/secretstorage/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index ea1cff03fe2e..e2ee441d9ddf 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -577,6 +577,7 @@ tavyc = "Octavian Cerna "; ltavard = "Laure Tavard "; teh = "Tom Hunger "; + teto = "Matthieu Coudron "; telotortium = "Robert Irelan "; thall = "Niclas Thall "; thammers = "Tobias Hammerschmidt "; 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a6aeea3a158a..37e4e5065615 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20905,6 +20905,8 @@ in { }; }; + secretstorage = callPackage ../development/python-modules/secretstorage { }; + semantic = buildPythonPackage rec { name = "semantic-1.0.3";