mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
govers: switch to fetchFromGitHub
This commit is contained in:
parent
f9ab767d67
commit
d951853737
@ -1,16 +1,16 @@
|
||||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "govers";
|
||||
version = "20160623-${lib.strings.substring 0 7 rev}";
|
||||
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
||||
version = "unstable-2016-06-23";
|
||||
|
||||
goPackagePath = "github.com/rogpeppe/govers";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/rogpeppe/govers";
|
||||
sha256 = "12w83vyi8mgn48fwdm2js693qcydimxapg8rk0yf01w0ab03r5wn";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rogpeppe";
|
||||
repo = "govers";
|
||||
rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43";
|
||||
sha256 = "sha256-lpc8wFKAB+A8mBm9q3qNzTM8ktFS1MYdIvZVFP0eiIs=";
|
||||
};
|
||||
|
||||
dontRenameImports = true;
|
||||
|
Loading…
Reference in New Issue
Block a user