3
0
Fork 0
forked from mirrors/nixpkgs

editorconfig-core-c: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-09 10:28:18 +01:00
parent 7e49720ea1
commit 62fcc3b0ae

View file

@ -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;
};