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

rpl: init at 1.5.6 #29894

Merged
merged 1 commit into from
Sep 28, 2017
Merged

rpl: init at 1.5.6 #29894

merged 1 commit into from
Sep 28, 2017

Conversation

teto
Copy link
Member

@teto teto commented Sep 28, 2017

A python program that helps replacing string in files.

Motivation for this change

One hell of a program, kinda like "fd". I find it very helpful to replace strings in multiple files. It's packaged in debian too.

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
    • Linux
  • 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.

@teto teto requested a review from FRidh as a code owner September 28, 2017 10:26
@@ -19269,6 +19269,8 @@ in {
};
};

rpl = callPackage ../tools/text/rpl {};
Copy link
Member

@Mic92 Mic92 Sep 28, 2017

Choose a reason for hiding this comment

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

If it is not a python library, please move it to all-packages.nix instead.

Copy link
Member Author

Choose a reason for hiding this comment

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

it's a python program but not a library ? still going to all-packages.nix ?

Copy link
Member

Choose a reason for hiding this comment

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

Yes. We need to build python programs only against a single python version. pythonPackages are build against all versions.

src = fetchFromGitHub {
owner="kcoyner";
repo="rpl";
rev="v${version}";
Copy link
Member

Choose a reason for hiding this comment

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

Really nitpicky so sorry, but spaces around = for these?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've aligned = with vim-lion, hopes that's not a problem xD

A python program that helps replacing string in files.
@teto
Copy link
Member Author

teto commented Sep 28, 2017

I pushed a new version with your comments adressed (hopefully).

@Mic92 Mic92 merged commit 378961e into NixOS:master Sep 28, 2017
@Mic92
Copy link
Member

Mic92 commented Sep 28, 2017

Thanks!

@teto teto deleted the rpl branch April 11, 2018 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants