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
pythonPackages.dateparser: 0.3.2-pre-2016-01-21 -> 0.6.0 #32591
Conversation
name = "dateparser-${version}"; | ||
version = "0.6.0"; | ||
|
||
src = fetchgit { |
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.
fetchFromGitHub
# Upstream Issue: https://github.com/scrapinghub/dateparser/issues/364 | ||
disabled = isPy3k; | ||
|
||
buildInputs = [ nose nose-parameterized mock glibcLocales ]; |
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.
test inputs go in checkInputs
sha256 = "0q2vyzvlj46r6pr0s6m1a0md1cpg9nv1n3xw286l4x2cc7fj2g3y"; | ||
}; | ||
|
||
LC_ALL = "en_US.UTF-8"; |
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.
likely only needed for tests -> export
in preCheck
|
||
meta = with stdenv.lib;{ | ||
description = "Date parsing library designed to parse dates from HTML pages"; | ||
homepage = https://pypi.python.org/pypi/dateparser; |
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.
upstream homepage is https://github.com/scrapinghub/dateparser
This is what happens when you try to bump a version of some obscure python package 💃 |
88863af
to
6cbec9a
Compare
Thanks for the review @FRidh 👍 |
, regex | ||
, ruamel_yaml }: | ||
buildPythonPackage rec { | ||
name = "dateparser-${version}"; |
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.
Just one more tiny change.
pname = "dateparser";
version = "0.6.0";
and drop name
.
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.
ah, that works now! I remember that name was always necessary.
6cbec9a
to
d4e0812
Compare
d4e0812
to
ba19c2d
Compare
Motivation for this change
unbreak pythonPackages.dateparser, bump to latest rev. This PR is part of the testing for https://github.com/makefu/nix-src-updater .
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)