nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchFromGitHub,
6 jeepney,
7 setuptools,
8}:
9
10buildPythonPackage (finalAttrs: {
11 pname = "secretstorage";
12 version = "3.5.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "mitya57";
17 repo = "secretstorage";
18 tag = finalAttrs.version;
19 hash = "sha256-oDna9i6ny/mKHpOzrtfaYPnd12qsZ84TTxl4g+RWE24=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 cryptography
26 jeepney
27 ];
28
29 # Needs a D-Bus session
30 doCheck = false;
31
32 pythonImportsCheck = [ "secretstorage" ];
33
34 meta = {
35 changelog = "https://github.com/mitya57/secretstorage/blob/${finalAttrs.src.tag}/changelog";
36 description = "Python bindings to FreeDesktop.org Secret Service API";
37 homepage = "https://github.com/mitya57/secretstorage";
38 license = lib.licenses.bsd3;
39 maintainers = with lib.maintainers; [ teto ];
40 };
41})