bcache-tools: switch to fetchFromGitHub
This commit is contained in:
parent
004822554c
commit
fd0cbc696a
@ -1,13 +1,14 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, util-linux, bash }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, util-linux, bash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bcache-tools";
|
pname = "bcache-tools";
|
||||||
version = "1.0.7";
|
version = "1.0.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
name = "${pname}-${version}.tar.gz";
|
owner = "g2p";
|
||||||
url = "https://github.com/g2p/bcache-tools/archive/v${version}.tar.gz";
|
repo = "bcache-tools";
|
||||||
sha256 = "1gbsh2qw0a7kgck6w0apydiy37nnz5xvdgipa0yqrfmghl86vmv4";
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Ors2xXRrVTf8Cq3BYnSVSfJy/nyGjT5BGLSNpxOcHR4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
Loading…
Reference in New Issue
Block a user