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

epdfview: Fixed SRC URL; Cosmetic Change #24568

Merged
merged 1 commit into from Apr 3, 2017
Merged

epdfview: Fixed SRC URL; Cosmetic Change #24568

merged 1 commit into from Apr 3, 2017

Conversation

ndowens
Copy link
Contributor

@ndowens ndowens commented Apr 2, 2017

Motivation for this change

Cosmetic

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

@mention-bot
Copy link

@ndowens, thanks for your PR! By analyzing the history of the files in this pull request, we identified @astsmtl, @aske and @globin to be potential reviewers.

@joachifm
Copy link
Contributor

joachifm commented Apr 2, 2017

What happened to the old upstream?

@ndowens
Copy link
Contributor Author

ndowens commented Apr 2, 2017

@joachifm I tried the old url to check for a newer version and seems it no longer exists

@@ -4,11 +4,12 @@ stdenv.mkDerivation rec {
name = "epdfview-0.1.8";

src = fetchurl {
url = "http://trac.emma-soft.com/epdfview/chrome/site/releases/${name}.tar.bz2";
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
url = "http://http.debian.net/debian/pool/main/e/epdfview/epdfview_0.1.8.orig.tar.gz";
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using mirror://debian instead. Also, consider factoring out the version.

@joachifm
Copy link
Contributor

joachifm commented Apr 2, 2017

I see. When changing upstreams, it's good to mention why. Debian is a trusted source, ofc. but in general it's a little suspicious :)

@ndowens
Copy link
Contributor Author

ndowens commented Apr 2, 2017

@joachifm WIll try to remember to add that as a PR note then :) or commit

@joachifm
Copy link
Contributor

joachifm commented Apr 2, 2017

In general, mentioning stuff like that in the commit message is probably best. I, at least, find it more convenient than having to track down review comments on github.


src = fetchurl {
url = "http://trac.emma-soft.com/epdfview/chrome/site/releases/${name}.tar.bz2";
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
url = "mirror://debian/epdfview/epdfview_${version}.orig.tar.gz";
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe you need to include the /pool/whatever stuff in the url when using the debian mirrors.

epdfview: Updated Debian Mirror
@ndowens
Copy link
Contributor Author

ndowens commented Apr 2, 2017

@joachifm FIxed

@joachifm joachifm merged commit 969ed88 into NixOS:master Apr 3, 2017
joachifm pushed a commit that referenced this pull request Apr 3, 2017
(cherry picked from commit 969ed88)

Upstream has disappeared.
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