Skip to content
Snippets Groups Projects
shell.nix 758 B
Newer Older
me5na7qbjqbrp's avatar
me5na7qbjqbrp committed
#!/usr/bin/env -S nix-shell --pure
me5na7qbjqbrp's avatar
me5na7qbjqbrp committed

with import <nixpkgs> {};
with python38Packages;

let
  cpasswords = python38.pkgs.buildPythonApplication rec {
    pname = "cpasswords";
    version = "dev";

    #src = fetchGit {
    #  url = "https://gitlab.crans.org/nounous/cranspasswords.git";
    #  ref = version;
    #};
    src = [ ./. ];

    doCheck = false;

    propagatedBuildInputs = [ polib gpgme paramiko pyperclip dnspython ];

    meta = with lib; {
      description = "This is a centralized passwords manager, using GPG for protection, and allowing shared passwords to groups.";
      homepage    = "https://gitlab.crans.org/nounous/cranspasswords";
      license     = licenses.gpl3;
    };
  };
in mkShell {
  buildInputs = [
    cpasswords
  ];
}