1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00

sn0int: 0.20.1 -> 0.21.1

This commit is contained in:
Fabian Affolter 2021-05-23 13:12:56 +02:00
parent dfc658fd2e
commit c1d698e5c2

View file

@ -1,22 +1,34 @@
{ lib, fetchFromGitHub, rustPlatform, libsodium, libseccomp, sqlite, pkg-config
{ lib
, fetchFromGitHub
, rustPlatform
, libsodium
, libseccomp
, sqlite
, pkg-config
}:
rustPlatform.buildRustPackage rec {
pname = "sn0int";
version = "0.20.1";
version = "0.21.1";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vnSpItch9RDUyYxERKRwYPmRLwRG9gAI7iIY+7iRs1w=";
sha256 = "sha256-LjNOaqYGlhF0U+YxoLLmmXgxPa8f+t9BSm+qO23waaI=";
};
cargoSha256 = "sha256-qgOZxuzAeDgT93TccfnVTj3OQzalHfude0ETTVMM2Pk=";
cargoSha256 = "sha256-ruK+qDIqrltNcErBnrcHdPfVKmwPwiPfq42A/el206c=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [ libsodium libseccomp sqlite ];
buildInputs = [
libsodium
libseccomp
sqlite
];
# One of the dependencies (chrootable-https) tries to read "/etc/resolv.conf"
# in "checkPhase", hence fails in sandbox of "nix".