aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/security/crackxls
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2020-11-01 23:39:49 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-01 23:02:24 -0800
commit2c931312ce6c7baf91ec98e164bef0241fc20aa6 (patch)
tree6bf1c7d460aab2085256fd415e3f24734516683d /pkgs/tools/security/crackxls
parentc6afa8820b528cec7e889e462cbcab84c0313b41 (diff)
treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
Diffstat (limited to 'pkgs/tools/security/crackxls')
-rw-r--r--pkgs/tools/security/crackxls/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/security/crackxls/default.nix b/pkgs/tools/security/crackxls/default.nix
index e861d70f7252..aff6bbd028ad 100644
--- a/pkgs/tools/security/crackxls/default.nix
+++ b/pkgs/tools/security/crackxls/default.nix
@@ -1,13 +1,14 @@
-{ stdenv, fetchgit, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
+{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, openssl, libgsf, gmp }:
stdenv.mkDerivation rec {
pname = "crackxls";
version = "0.4";
- src = fetchgit {
- url = "https://github.com/GavinSmith0123/crackxls2003.git";
- rev = "refs/tags/v${version}";
+ src = fetchFromGitHub {
+ owner = "GavinSmith0123";
+ repo = "crackxls2003";
+ rev = "v${version}";
sha256 = "0q5jl7hcds3f0rhly3iy4fhhbyh9cdrfaw7zdrazzf1wswwhyssz";
};