Unverified Commit 97013e6c authored by Anton Mosich's avatar Anton Mosich
Browse files

pass-secret-service: unstable-2022-07-18 -> 0-unstable-2023-12-16

Closes #384583
parent 666fe4dd
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -6,20 +6,21 @@
  gnupg,
  coreutils,
  nixosTests,
  nix-update-script,
}:

python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication {
  pname = "pass-secret-service";
  # PyPI has old alpha version. Since then the project has switched from using a
  # seemingly abandoned D-Bus package pydbus and started using maintained
  # dbus-next. So let's use latest from GitHub.
  version = "unstable-2022-07-18";
  version = "0-unstable-2023-12-16";

  src = fetchFromGitHub {
    owner = "mdellweg";
    repo = "pass_secret_service";
    rev = "fadc09be718ae1e507eeb8719f3a2ea23edb6d7a";
    hash = "sha256-lrNU5bkG4/fMu5rDywfiI8vNHyBsMf/fiWIeEHug03c=";
    rev = "6335c85d9a790a6472e3de6eff87a15208caa5dc";
    hash = "sha256-SSmI3HJCUWuwFXCu3Zg66X18POlzp3ADRj7HeE8GRio=";
  };

  # Need to specify session.conf file for tests because it won't be found under
@@ -65,7 +66,12 @@ python3.pkgs.buildPythonApplication rec {

  checkTarget = "test";

  passthru.tests.pass-secret-service = nixosTests.pass-secret-service;
  passthru = {
    updateScript = nix-update-script {
      extraArgs = [ "--version=branch" ];
    };
    tests.pass-secret-service = nixosTests.pass-secret-service;
  };

  meta = {
    description = "Libsecret D-Bus API with pass as the backend";