1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

pythonPackages.secretstorage: init at 2.3.1 for Python 2

This commit is contained in:
Orivej Desh 2018-12-25 23:09:53 +00:00
parent 6137c6de6c
commit 84d133c845
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,24 @@
{ lib, fetchPypi, buildPythonPackage, cryptography, dbus-python }:
buildPythonPackage rec {
pname = "secretstorage";
version = "2.3.1";
src = fetchPypi {
pname = "SecretStorage";
inherit version;
sha256 = "1di9gx4m27brs6ar774m64s017iz742mnmw39kvfc8skfs3mrxis";
};
propagatedBuildInputs = [ cryptography dbus-python ];
# Needs a D-Bus Sesison
doCheck = false;
meta = with lib; {
homepage = https://github.com/mitya57/secretstorage;
description = "Python bindings to FreeDesktop.org Secret Service API";
license = licenses.bsd3;
maintainers = with maintainers; [ orivej ];
};
}

View file

@ -4258,7 +4258,9 @@ in {
blessings = callPackage ../development/python-modules/blessings { };
secretstorage = callPackage ../development/python-modules/secretstorage { };
secretstorage = if isPy3k
then callPackage ../development/python-modules/secretstorage { }
else callPackage ../development/python-modules/secretstorage/2.nix { };
semantic = callPackage ../development/python-modules/semantic { };