Merge master into staging-next
This commit is contained in:
26
pkgs/tools/misc/psw/default.nix
Normal file
26
pkgs/tools/misc/psw/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "psw";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Wulfsta";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "10raj4899i01f5v13w0wxdnjjicql2wjblkq1zcagrfv3ly3d0fy";
|
||||
};
|
||||
|
||||
cargoSha256 = "1w18rym0xnjk7vhrb2dc4cvhg659zbq5d2153gw2snxcbs7gh7r1";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command line tool to write random bytes to stdout";
|
||||
homepage = "https://github.com/Wulfsta/psw";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ wulfsta ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
66
pkgs/tools/misc/urn-timer/default.nix
Normal file
66
pkgs/tools/misc/urn-timer/default.nix
Normal file
@@ -0,0 +1,66 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, unstableGitUpdater
|
||||
, xxd
|
||||
, pkg-config
|
||||
, imagemagick
|
||||
, wrapGAppsHook
|
||||
, gtk3
|
||||
, jansson
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "urn-timer";
|
||||
version = "unstable-2017-08-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "3snowp7im";
|
||||
repo = "urn";
|
||||
rev = "246a7a642fa7a673166c1bd281585d0fc22e75b2";
|
||||
sha256 = "0bniwf3nhsqapsss9m9y9ylh38v6v7q45999wa1qcsddpa72k0i0";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/3snowp7im/urn/pull/50
|
||||
(fetchpatch {
|
||||
name = "stop-hardcoding-prefix";
|
||||
url = "https://github.com/3snowp7im/urn/commit/6054ee62dcd6095e31e8fb2a229155dbbcb39f68.patch";
|
||||
sha256 = "1xdkylbqlqjwqx4pb9v1snf81ag7b6q8vybirz3ibsv6iy79v9pk";
|
||||
})
|
||||
# https://github.com/3snowp7im/urn/pull/53
|
||||
(fetchpatch {
|
||||
name = "create-installation-directories";
|
||||
url = "https://github.com/3snowp7im/urn/commit/fb032851b9c5bebb5066d306f5366f0be34f0797.patch";
|
||||
sha256 = "0jjhcz4n8bm3hl56rvjzkvxr6imc05qlyavzjrlafa19hf036g4a";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''substituteInPlace GNUmakefile --replace 'rsync -a --exclude=".*"' 'cp -r' '';
|
||||
|
||||
nativeBuildInputs = [
|
||||
xxd
|
||||
pkg-config
|
||||
imagemagick
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
jansson
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
url = "https://github.com/3snowp7im/urn.git";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/3snowp7im/urn";
|
||||
description = "Split tracker / timer for speedrunning with GTK+ frontend";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
};
|
||||
}
|
||||
27
pkgs/tools/security/crlfuzz/default.nix
Normal file
27
pkgs/tools/security/crlfuzz/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "crlfuzz";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dwisiswant0";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "03g7z7cczn52hvg6srp1i5xhdbpia226adrh2d54cs640063bx3m";
|
||||
};
|
||||
|
||||
vendorSha256 = "19cj07f7d3ksp7lh5amdjz1s8p7xmqbwal4vp61al82n8944ify8";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool to scan for CRLF vulnerability";
|
||||
homepage = "https://github.com/dwisiswant0/crlfuzz";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user