diff options
author | Felix Buehler <account@buehler.rocks> | 2022-03-09 10:28:18 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-03-09 10:28:18 +0100 |
commit | 62fcc3b0ae476ce47dbbdda36f9d8db767e3298e (patch) | |
tree | e6c32cb4e54e4bc367e4ef231f31f67cd5e1c972 | |
parent | 7e49720ea18f403ada4f491e1903445ef14a7c9a (diff) |
editorconfig-core-c: switch to fetchFromGitHub
-rw-r--r-- | pkgs/development/tools/misc/editorconfig-core-c/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/tools/misc/editorconfig-core-c/default.nix b/pkgs/development/tools/misc/editorconfig-core-c/default.nix index eb2e124a35e90..893a1925dd710 100644 --- a/pkgs/development/tools/misc/editorconfig-core-c/default.nix +++ b/pkgs/development/tools/misc/editorconfig-core-c/default.nix @@ -1,13 +1,14 @@ -{ lib, stdenv, fetchgit, cmake, pcre, doxygen }: +{ lib, stdenv, fetchFromGitHub, cmake, pcre, doxygen }: stdenv.mkDerivation rec { pname = "editorconfig-core-c"; version = "0.12.1"; - src = fetchgit { - url = "https://github.com/editorconfig/editorconfig-core-c.git"; + src = fetchFromGitHub { + owner = "editorconfig"; + repo = "editorconfig-core-c"; rev = "v${version}"; - sha256 = "0awpb63ci85kal3pnlj2b54bay8igj1rbc13d8gqkvidlb51nnx4"; + sha256 = "sha256-pFsbyqIt7okfaiOwlYN8EXm1SFlCUnsHVbOgyIZZlys="; fetchSubmodules = true; }; |