New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notsodeep: init at 2019.5.29 #107254
notsodeep: init at 2019.5.29 #107254
Conversation
Adding notsodeep which is an utility for active DPI circumvention. the version number is last commit date of notsodeep repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of comments to resolve.
Also, the repository you fetch sources from is archived - are you sure it's safe to package this software when the upstream does not want to maintain it?
{ pkgs, stdenv, fetchFromGitHub }: | ||
with stdenv; | ||
mkDerivation { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ pkgs, stdenv, fetchFromGitHub }: | |
with stdenv; | |
mkDerivation { | |
{ stdenv, fetchFromGitHub }: | |
stdenv.mkDerivation rec { |
# notsodeep doesn't have version number | ||
# So I added last commit date instead | ||
pname = "notsodeep"; | ||
version = "2019.5.29"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# notsodeep doesn't have version number | |
# So I added last commit date instead | |
pname = "notsodeep"; | |
version = "2019.5.29"; | |
pname = "notsodeep"; | |
version = "unstable-2019-05-29"; |
version = "2019.5.29"; | ||
src = fetchFromGitHub { | ||
owner = "farukuzun"; | ||
repo = "notsodeep"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repo = "notsodeep"; | |
repo = pname; |
sha256 = "0rzxszvjcv86516cv79zxs65jvd464483y6xv9g6l0bhjvrdr9kv"; | ||
}; | ||
|
||
buildInputs = with pkgs; [ libnetfilter_queue libnfnetlink ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildInputs = with pkgs; [ libnetfilter_queue libnfnetlink ]; | |
buildInputs = [ libnetfilter_queue libnfnetlink ]; |
mkdir -p $out/bin | ||
cp notsodeep $out/bin | ||
''; | ||
meta = with lib; { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = with lib; { | |
meta = with stdenv.lib; { |
description = "Active DPI circumvention utility for Linux"; | ||
homepage = "https://github.com/farukuzun/notsodeep"; | ||
license = licenses.asl20; | ||
maintainers = [ maintainers.damhiya ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers = [ maintainers.damhiya ]; | |
maintainers = with maintainers; [ damhiya ]; |
@@ -699,6 +699,8 @@ in | |||
|
|||
albert = libsForQt5.callPackage ../applications/misc/albert {}; | |||
|
|||
notsodeep = callPackage ../tools/networking/notsodeep { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put this below in the file, so the packages are alphabetically sorted.
Okay, I can't assure the safety of the package to other people, and maybe it was not appropriate to register unmaintained software on nixpkgs. |
Motivation for this change
notsodeep
is an active DPI circumvention utility.Here is the original repository : https://github.com/farukuzun/notsodeep
I wrote a nix expression for
notsodeep
and it seems it works well.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)