mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
symlinks: switch to fetchFromGitHub
This commit is contained in:
parent
11031d1c0c
commit
ac3c391fa3
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
|||
{ fetchurl, lib, stdenv }:
|
||||
{ fetchFromGitHub, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "symlinks";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz";
|
||||
sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417";
|
||||
src = fetchFromGitHub {
|
||||
owner = "brandt";
|
||||
repo = "symlinks";
|
||||
rev = "v${version}";
|
||||
sha256 = "EMWd7T/k4v1uvXe2QxhyPoQKUpKIUANE9AOwX461FgU=";
|
||||
};
|
||||
|
||||
buildFlags = [ "CC=${stdenv.cc}/bin/cc" ];
|
||||
|
|
Loading…
Reference in a new issue