forked from mirrors/nixpkgs
editorconfig-core-c: switch to fetchFromGitHub
This commit is contained in:
parent
7e49720ea1
commit
62fcc3b0ae
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue