beanstalkd: switch to fetchFromGitHub
This commit is contained in:
parent
aa298de800
commit
3d9480f720
@ -1,12 +1,14 @@
|
|||||||
{ lib, stdenv, fetchurl, installShellFiles, nixosTests }:
|
{ lib, stdenv, fetchFromGitHub, installShellFiles, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.12";
|
version = "1.12";
|
||||||
pname = "beanstalkd";
|
pname = "beanstalkd";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
|
owner = "kr";
|
||||||
sha256 = "0gw8aygysnjzzfjgfzivy5vajla9adg2zcr4h8rrdf0xyykpwfpl";
|
repo = "beanstalkd";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-HChpVZ02l08CObrb4+ZEjBiXeQMMYi6zhSWUTDxuEao=";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "fortify" ];
|
hardeningDisable = [ "fortify" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user