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:
parent
6137c6de6c
commit
84d133c845
24
pkgs/development/python-modules/secretstorage/2.nix
Normal file
24
pkgs/development/python-modules/secretstorage/2.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue