Skip to content
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

kloak: init at v0.2 #86824

Closed
wants to merge 1 commit into from
Closed

kloak: init at v0.2 #86824

wants to merge 1 commit into from

Conversation

ryneeverett
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pname = "kloak";
version = "v0.2";

src = fetchgit {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


src = fetchgit {
url = "https://github.com/vmonaco/kloak.git";
rev = "49ca7208f15b976b51df23666667f14c63a631d7";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rev = "49ca7208f15b976b51df23666667f14c63a631d7";
rev = "${version}";

@ryneeverett
Copy link
Contributor Author

Thanks for the review @mweinelt!

I wasn't sure if the website-specific fetchers were preferred but I'm happy to defer to your judgement.


stdenv.mkDerivation rec {
pname = "kloak";
version = "v0.2";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the v prefix into src.rev instead.


meta = with stdenv.lib; {
description = "Keystroke-level online anonymization kernel: obfuscates typing behavior at the device level";
longDescription = "Note that this requires loading the 'uinput' kernel module.";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that is an appropriate use of the longDescription field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps not though I've seen basic usage notes in this field for other packages. Would a preferred alternative be a wrapper script to echo a warning if this kernel module is not loaded?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I neither have a strong opinion nor much experience and would like to defer to someone else.

@stale
Copy link

stale bot commented Jan 17, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 17, 2021
@AndersonTorres
Copy link
Member

Closing as dead.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants