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

flent: init at 1.2.2 #40506

Merged
merged 1 commit into from May 16, 2018
Merged

flent: init at 1.2.2 #40506

merged 1 commit into from May 16, 2018

Conversation

mmlb
Copy link
Contributor

@mmlb mmlb commented May 14, 2018

Motivation for this change

Add new package, flent for network testing.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mmlb
Copy link
Contributor Author

mmlb commented May 14, 2018

@teto here it is

@mmlb
Copy link
Contributor Author

mmlb commented May 14, 2018

One question I have is should I change the python packages inherited?


buildPythonApplication rec {
name = "flent-${version}";
version = "1.2.2";
Copy link
Member

Choose a reason for hiding this comment

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

pname="flent"
version=...
are enough, buildPythonApplication will generate the name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah ok, yeah I was originally doing a version from a git commit.

@@ -2332,6 +2332,10 @@ with pkgs;

flashrom = callPackage ../tools/misc/flashrom { };

flent = callPackage ../applications/networking/flent {
Copy link
Member

Choose a reason for hiding this comment

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

you can use python3Packages.callPackage instead and it will pass the correct parameters without you expliciting matplolib & co.

@mmlb
Copy link
Contributor Author

mmlb commented May 14, 2018

Whats the preferred mode of updates? squash/rebase or fixups? I like to push fixup commits so that conversations can continue without github thinking everything is handled. But I'd also like it that fixups aren't actually merged to master without first getting applied.

@teto
Copy link
Member

teto commented May 14, 2018

when it's small/short commit, squashing is fine (I usually leave a 👍 in the comments to communicate I've seen/adressed them).

@mmlb
Copy link
Contributor Author

mmlb commented May 14, 2018

done

@teto
Copy link
Member

teto commented May 15, 2018

Looks good but I don't have merge rights. Random question but you don't intend to package from the same team (I believe) https://git.cs.kau.se/pub/kaunetem (deterministic netem) ?

@mmlb
Copy link
Contributor Author

mmlb commented May 15, 2018

AFAICS the 2 projects are completely separate projects, I don't even see a common set of contributors. I do not intend to package kaunetem, it seems to have stalled though still marked as missing many features, and I have never used it so can't say if its working or not..

@matthewbauer matthewbauer merged commit 0e2dd13 into NixOS:master May 16, 2018
@mmlb mmlb deleted the flent branch May 17, 2018 02:53
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

4 participants