xtrlock-pam: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-09 10:26:01 +01:00
parent c3857b318e
commit e5c1b1f17e

View File

@ -1,13 +1,14 @@
{ lib, stdenv, fetchgit, python2, pkg-config, xlibsWrapper, pam }:
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, xlibsWrapper, pam }:
stdenv.mkDerivation {
pname = "xtrlock-pam";
version = "3.4-post-20150909";
src = fetchgit {
url = "https://github.com/aanatoly/xtrlock-pam";
src = fetchFromGitHub {
owner = "aanatoly";
repo = "xtrlock-pam";
rev = "6f4920fcfff54791c0779057e9efacbbbbc05df6";
sha256 = "1z2wlhi5d05b18pvwz146kp0lkcc6z2mnilk01mk19hzbziyqmsc";
sha256 = "sha256-TFfs418fpjBrAJNGW8U3jE0K7jQkfL4vCquAViKkXPw=";
};
nativeBuildInputs = [ pkg-config ];