tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
google-authenticator: switch to fetchFromGitHub
Felix Buehler
4 years ago
41d51276
2653630f
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
google-authenticator
default.nix
+6
-4
pkgs/os-specific/linux/google-authenticator/default.nix
···
1
-
{ stdenv, lib, fetchurl, autoreconfHook, pam, qrencode }:
2
3
stdenv.mkDerivation rec {
4
pname = "google-authenticator-libpam";
5
version = "1.09";
6
7
-
src = fetchurl {
8
-
url = "https://github.com/google/google-authenticator-libpam/archive/${version}.tar.gz";
9
-
sha256 = "0dyhgizl2jcrnfn5sxipxawqrbr6qgjh7aggw8fz3hix861pj7db";
0
0
10
};
11
12
nativeBuildInputs = [ autoreconfHook ];
···
1
+
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pam, qrencode }:
2
3
stdenv.mkDerivation rec {
4
pname = "google-authenticator-libpam";
5
version = "1.09";
6
7
+
src = fetchFromGitHub {
8
+
owner = "google";
9
+
repo = "google-authenticator-libpam";
10
+
rev = version;
11
+
hash = "sha256-DS0h6FWMNKnSSj039bH6iyWrERa5M7LBSkbyig6pyxY=";
12
};
13
14
nativeBuildInputs = [ autoreconfHook ];