blob: 483467ecb89f0d9251b64e9f6d3e9f5eb7bec745 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
description = "Python OpenVPN with mintotp";
outputs = { self, nixpkgs, ... }:
(let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) callPackage;
in
{
packages.${system} = rec {
default = openvpn-mintotp;
mintotp =
callPackage
({ python3Packages, fetchgit }: python3Packages.buildPythonPackage rec {
pname = "mintotp";
version = "0.3.0";
src = fetchgit {
url = "https://github.com/susam/mintotp";
rev = "0307b92219dccca68a6ab2dd95085834c25f2ef0";
sha256 = "sha256-J5a1FjDsi37uBZtkx5LyWHG2klRjUtDBYyangfR4Pnc=";
};
})
{};
openvpn-mintotp =
callPackage
({ python3Packages }: python3Packages.buildPythonPackage rec {
pname = "openvpn-mintotp";
src = ./.;
version = "0.0.1";
propagatedBuildInputs = [
python3Packages.pexpect
mintotp
];
})
{};
};
});
}
|