demjson is a Python JSON module that reads, writes and validates
JSON-encoded data; compliant with RFC 4627.
It also includes a lint checker, jsonlint, which can be used to validate
JSON documents for strict conformance to the RFC specification; as well
as to reformat them, either by re-indenting or for minimal/canonical
JSON output.
Homepage: http://deron.meranda.us/python/demjson/
This version is preliminary because it quite heavily depends on pykickstart
(through blivet) and the roadmap is to have a nice NixOS attrset-based
specification of partitions.
Currently the main purpose for this is in preparation for the Hetzner nixops
backend, but we might want to make this part of the standard NixOS installer.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This adds the correct store paths for mount, umount and lsof to blivet as these
commands are still generic enough to _not_ add them as a dependency.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
First of all, the path to wipefs didn't work at all, and though it is
documented, the "-f" flag only works when used as a long option ("--force").
This is probably fixed upstream in util-linux, but using the long-option will
stay compatible.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This should ensure the test casnes are always running in the same order,
regardless of the target machine. We're just using the class name here, which
should be sufficient enough to address the issue.
Now the following build should be fixed:
http://hydra.nixos.org/build/5425811
Big thanks to @rbvermaa for being a *really* great help debugging the problem
quickly, because I couldn't reproduce it here (the run order of the test cases
on my machine were 'accidentally' right).
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This still doesn't have all possibly required dependencies, but at least we can
do basic partitioning, which is our primary goal. At least when it comes to the
Hetzner target of nixops. But even for partitioning when installing NixOS this
library could be _very_ useful.
Test cases currently don't work because they're filled with syntax errors and
some references to the mocking library are missing.
As you can see in propagatedBuildInputs, here are the promised overrides for
Python support of libselinux and cryptsetup.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Thought this would be needed for blivet, but it wasn't the case. They seem to
have their own mini-implementation. But it might be useful for other Nixers, who
knows?
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Needed for blivet and this is part of Anaconda (Fedora's installation system).
The reason I'm packaging this is because of blivet and because it's quite well
decoupled from Anaconda itself, so it can be used for other purposes.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
There is no new upstream version available and the latest upstream release is
still using calls to prehistoric versions of libnotify. Most other distro have
patched this already, so no need to patch again. Patch is from Fedora (which is
the most referenced source seen so far).
Additionally the configure script cannot find the correct path to the codegen
executable, so we're patching it accordingly as well.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
ninja is a build system written in C++ that just happens to use python
to build/install *itself*. It is not a "python package".
After this commit, ninja will be at pkgs.ninja instead of
pkgs.pythonPackages.ninja.