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
Nikola CMS: init at 7.8.3 #22147
Nikola CMS: init at 7.8.3 #22147
Conversation
Could you move the dependencies to seperate files in |
meta = { | ||
description = "A static content management system"; | ||
homepage = "https://www.getnikola.com/"; | ||
license = "MIT"; |
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.
Please use licenses.mit
here.
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.
Are you going to maintain these Python packages?
|
||
propagatedBuildInputs = with self; [ cloudpickle pyinotify pytest ]; | ||
|
||
doCheck = false; |
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.
include a reason why you disable them
sha256 = "0ghj3bsrc5bm30w97bn8nvf5jlabg06xs16g7284mimyr7q9z0j0"; | ||
}; | ||
|
||
propagatedBuildInputs = with self; [ cloudpickle pyinotify pytest ]; |
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.
does it need pytest during runtime??
name = "${pname}-${version}"; | ||
version = "4.0.3"; | ||
|
||
# ImportError: No module named tests |
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.
ok...and how come? Should the test runner be invoked differently, or are tests simply missing? Just stating there was an importerror is not sufficient.
sha256 = "18lna1bgzw4l3kqdi3nr1l557rj3wddrcj81x0rf8f4p87xsg9fq"; | ||
}; | ||
|
||
doCheck = false; |
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.
why?
src = pkgs.fetchurl { | ||
url = "mirror://pypi/N/${pname}/${name}.tar.gz"; | ||
sha256 = "12kcnvwy9dr194riji6iird1zpdcv252d19lfvabr39rsi9658jl"; | ||
}; |
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.
are tests working?
version = "1.3"; | ||
name = "${pname}-${version}"; | ||
|
||
doCheck = false; |
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.
why?
version = "1.0.10"; | ||
name = "${pname}-${version}"; | ||
|
||
doCheck = false; |
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.
why?
name = "pygal-${version}"; | ||
pname = "pygal"; | ||
version = "2.3.1"; | ||
name = "${pname}-${version}"; | ||
|
||
doCheck = !isPyPy; # one check fails with pypy |
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.
if its only one test, and the test is broken, then surely we can just disable that one test?
status update? |
Motivation for this change
Nikola is quite a popular and advanced python-based CMS, similar to Lektor.
It required a lot of updates to dependencies, and some new python dependencies, all of which are included.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)