forked from mirrors/nixpkgs
sysdig: give the source tarball a meaningful name
This commit is contained in:
parent
b13378c479
commit
fc8e0ccc2e
|
@ -1,13 +1,15 @@
|
||||||
{stdenv, fetchurl, fetchFromGitHub, cmake, luajit, kernel, zlib, ncurses, perl, jsoncpp, libb64, openssl, curl, jq, gcc, fetchpatch}:
|
{stdenv, fetchurl, fetchFromGitHub, cmake, luajit, kernel, zlib, ncurses, perl, jsoncpp, libb64, openssl, curl, jq, gcc, fetchpatch}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional optionalString;
|
inherit (stdenv.lib) optional optionalString;
|
||||||
baseName = "sysdig";
|
baseName = "sysdig";
|
||||||
version = "0.15.0";
|
version = "0.15.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
name = "${name}.tar.gz";
|
||||||
url = "https://github.com/draios/sysdig/archive/${version}.tar.gz";
|
url = "https://github.com/draios/sysdig/archive/${version}.tar.gz";
|
||||||
sha256 = "08spprzgx6ksd7sjp5nk7z5szdlixh2sb0bsb9mfaq4xr12gsjw2";
|
sha256 = "08spprzgx6ksd7sjp5nk7z5szdlixh2sb0bsb9mfaq4xr12gsjw2";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue