Explorar el Código

Relicense as MIT

20.05
Emery Hemingway hace 1 año
padre
commit
1f53f25419
  1. BIN
      .CC0-1.0.png
  2. 8
      .reuse/dep5
  3. 119
      LICENSES/CC0-1.0.txt
  4. 27
      README.md
  5. 2
      apps/default.nix
  6. 2
      apps/generate-manifest/default.nix
  7. 2
      apps/hw-image/default.nix
  8. 2
      apps/hw-iso/default.nix
  9. 1
      apps/insert-config-rom.dhall
  10. 2
      apps/linux-image/default.nix
  11. 1
      apps/linux-image/script.dhall
  12. 1
      apps/modules.as.dhall
  13. 2
      apps/nova-image/default.nix
  14. 2
      apps/nova-iso/default.nix
  15. 2
      apps/render-init/default.nix
  16. 1
      apps/render-rom.dhall
  17. 1
      apps/to-rom.dhall
  18. 1
      compositions/pc-drivers.dhall
  19. 2
      flake.nix
  20. 1
      lib/compile-boot.dhall
  21. 5
      lib/default.nix
  22. 1
      lib/linux-script.dhall
  23. 2
      nixos-modules/buildBootDescription.nix
  24. 2
      nixos-modules/dhall/console.dhall
  25. 1
      nixos-modules/dhall/fs-log.dhall
  26. 1
      nixos-modules/dhall/graphical-log.dhall
  27. 1
      nixos-modules/dhall/root.dhall
  28. 1
      nixos-modules/dhall/show_input.dhall
  29. 1
      nixos-modules/dhall/vbox-guest.dhall
  30. 1
      nixos-modules/dhall/wm.dhall
  31. 2
      overlay/default.nix
  32. 2
      overlay/libc/default.nix
  33. 2
      overlay/solo5-tools/default.nix
  34. 4
      packages/NOVA/default.nix
  35. 2
      packages/bender/default.nix
  36. 2
      packages/block_router/default.nix
  37. 2
      packages/default.nix
  38. 2
      packages/dhall/default.nix
  39. 2
      packages/dhall/genode.nix
  40. 2
      packages/genodelabs/default.nix
  41. 2
      packages/nic_bus/default.nix
  42. 2
      packages/rtc-dummy/default.nix
  43. 2
      packages/show_input/default.nix
  44. 2
      packages/solo5/default.nix
  45. 2
      packages/sotest-producer/default.nix
  46. 2
      packages/stdcxx/default.nix
  47. 2
      tests/default.nix
  48. 1
      tests/driver_manager.dhall
  49. 1
      tests/log.dhall
  50. 2
      tests/log.nix
  51. 1
      tests/posix.dhall
  52. 2
      tests/posix.nix
  53. 1
      tests/solo5/blk.dhall
  54. 2
      tests/solo5/default.nix
  55. 1
      tests/solo5/net.dhall
  56. 1
      tests/solo5/net_2if.dhall
  57. 1
      tests/solo5/solo5.dhall
  58. 1
      tests/solo5/ssp.dhall
  59. 1
      tests/solo5/time.dhall
  60. 2
      tests/test-wrapper.dhall
  61. 1
      tests/test.dhall
  62. 1
      tests/vmm_arm.dhall
  63. 2
      tests/vmm_arm.nix
  64. 1
      tests/vmm_x86.dhall
  65. 2
      tests/vmm_x86.nix
  66. 1
      tests/x86.dhall
  67. 2
      tests/x86.nix

BIN
.CC0-1.0.png

Archivo binario no mostrado.

Antes

Anchura:  |  Altura:  |  Tamaño: 281 B

8
.reuse/dep5

@ -0,0 +1,8 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Genodepkgs
Upstream-Contact: Emery Hemingway <ehmry@posteo.net>
Source: https://git.sr.ht/~ehmry/genodepkgs
Files: *
Copyright: 2019-2020 Nixpkgs/NixOS contributors
License: MIT

119
LICENSES/CC0-1.0.txt

@ -1,119 +0,0 @@
Creative Commons Legal Code
CC0 1.0 Universal CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES
NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE
AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE
OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS
LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION
OR WORKS PROVIDED HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer exclusive
Copyright and Related Rights (defined below) upon the creator and subsequent
owner(s) (each and all, an "owner") of an original work of authorship and/or
a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific
works ("Commons") that the public can reliably and without fear of later claims
of infringement build upon, modify, incorporate in other works, reuse and
redistribute as freely as possible in any form whatsoever and for any purposes,
including without limitation commercial purposes. These owners may contribute
to the Commons to promote the ideal of a free culture and the further production
of creative, cultural and scientific works, or to gain reputation or greater
distribution for their Work in part through the use and efforts of others.
For these and/or other purposes and motivations, and without any expectation
of additional consideration or compensation, the person associating CC0 with
a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
and publicly distribute the Work under its terms, with knowledge of his or
her Copyright and Related Rights in the Work and the meaning and intended
legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be protected
by copyright and related or neighboring rights ("Copyright and Related Rights").
Copyright and Related Rights include, but are not limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display, communicate,
and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or likeness
depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work, subject
to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal protection
of databases, and under any national implementation thereof, including any
amended or successor version of such directive); and
vii. other similar, equivalent or corresponding rights throughout the world
based on applicable law or treaty, and any national implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention of,
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
and Related Rights and associated claims and causes of action, whether now
known or unknown (including existing as well as future claims and causes of
action), in the Work (i) in all territories worldwide, (ii) for the maximum
duration provided by applicable law or treaty (including future time extensions),
(iii) in any current or future medium and for any number of copies, and (iv)
for any purpose whatsoever, including without limitation commercial, advertising
or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the
benefit of each member of the public at large and to the detriment of Affirmer's
heirs and successors, fully intending that such Waiver shall not be subject
to revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason be
judged legally invalid or ineffective under applicable law, then the Waiver
shall be preserved to the maximum extent permitted taking into account Affirmer's
express Statement of Purpose. In addition, to the extent the Waiver is so
judged Affirmer hereby grants to each affected person a royalty-free, non
transferable, non sublicensable, non exclusive, irrevocable and unconditional
license to exercise Affirmer's Copyright and Related Rights in the Work (i)
in all territories worldwide, (ii) for the maximum duration provided by applicable
law or treaty (including future time extensions), (iii) in any current or
future medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional purposes
(the "License"). The License shall be deemed effective as of the date CC0
was applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder of
the License, and in such case Affirmer hereby affirms that he or she will
not (i) exercise any of his or her remaining Copyright and Related Rights
in the Work or (ii) assert any associated claims and causes of action with
respect to the Work, in either case contrary to Affirmer's express Statement
of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered,
licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or warranties
of any kind concerning the Work, express, implied, statutory or otherwise,
including without limitation warranties of title, merchantability, fitness
for a particular purpose, non infringement, or the absence of latent or other
defects, accuracy, or the present or absence of errors, whether or not discoverable,
all to the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without limitation
any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims
responsibility for obtaining any necessary consents, permissions or other
rights required for any use of the Work.
d. Affirmer understands and acknowledges that Creative Commons is not a party
to this document and has no duty or obligation with respect to this CC0 or
use of the Work.

27
README.md

@ -11,19 +11,17 @@
[Nix](https://nixos.org/nix/) expressions related to the
[Genode OS framework](https://genode.org).
**IRC:** irc://freenode.net/#nixos-exotic
=> irc://freenode.net/#nixos-exotic IRC
**Mailing List:** https://lists.sr.ht/~ehmry/genodepkgs
=> https://lists.sr.ht/~ehmry/genodepkgs Mailing list
**Hydra:** https://hydra7.hq.c3d2.de/project/genodepkgs
**SoTest:** https://opensource.sotest.io/userName%3Demery/1
=> https://opensource.sotest.io/userName%3Demery/1 SoTest
# Current status
I (the singular maintainer) have paused my work here while I write a native
[Dhall evaluator](https://git.sr.ht/~ehmry/dhall-nim) for Genode. This will
allow for dynamic on-target reconfiguration.
Work here has slowed as effort is focused on a native [Dhall
evaluator](https://git.sr.ht/~ehmry/dhall-nim) for Genode. This will allow for
dynamic on-target reconfiguration.
## Repository layout
@ -401,10 +399,11 @@ Others are simply introduced as an aid to the reader:
# Legal
This repository is for trivial packaging and metadata that exists only for the
sake of richer and more meaningful code in external repositories. All works
committed to this repository, unless otherwise noted, shall be implicitly
licensed under a [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/deed)
public domain dedication.
This repository is published under MIT licensing consistent with Nixpkgs.
![CC0 PUBLIC DOMAIN](.CC0-1.0.png)
> Note: MIT license does not apply to the packages built by Nixpkgs,
> merely to the files in this repository (the Nix expressions, build
> scripts, NixOS modules, etc.). It also might not apply to patches
> included in Nixpkgs, which may be derivative works of the packages to
> which they apply. The aforementioned artifacts are all covered by the
> licenses of the respective packages.

2
apps/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ system, self, nixpkgs, nixpkgsLocal, packages }:
let

2
apps/generate-manifest/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, nixpkgs }:
with nixpkgs.buildPackages;

2
apps/hw-image/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, nixpkgs, apps, packages }:
let inherit (packages) genodeSources base-hw-pc;

2
apps/hw-iso/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, nixpkgs, packages, hw-image }:
nixpkgs.writeScriptBin "hw-iso" (with nixpkgs.buildPackages;

1
apps/insert-config-rom.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
apps/linux-image/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ nixpkgs, apps, packages }:
nixpkgs.writeScriptBin "linux-image" (with nixpkgs.buildPackages; ''

1
apps/linux-image/script.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
apps/modules.as.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
apps/nova-image/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, nixpkgs, apps, packages }:
let inherit (packages) genodeSources base-nova;

2
apps/nova-iso/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, nixpkgs, packages, nova-image }:
nixpkgs.writeScriptBin "nova-iso" (with nixpkgs.buildPackages;

2
apps/render-init/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ nixpkgs, apps, packages }:
nixpkgs.writeScriptBin "render-init" (with nixpkgs.buildPackages; ''

1
apps/render-rom.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
apps/to-rom.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
compositions/pc-drivers.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
flake.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{
description = "Genode packages";

1
lib/compile-boot.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

5
lib/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ system, localSystem, crossSystem, genodepkgs, nixpkgs, apps }:
let
@ -19,7 +17,8 @@ in rec {
runDhallCommand = name: env: script:
nixpkgs.runCommand name (env // {
nativeBuildInputs = [ buildPackages.dhall ] ++ env.nativeBuildInputs or [ ];
nativeBuildInputs = [ buildPackages.dhall ]
++ env.nativeBuildInputs or [ ];
}) ''
${dhallCachePrelude}
${script}

1
lib/linux-script.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
nixos-modules/buildBootDescription.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
# Generate a total boot description by matching the binaries referred to by an init
# configuration with a list of input packages.

2
nixos-modules/dhall/console.dhall

@ -1,5 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
-- TODO: Move routes passed to toChild into the Init
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/fs-log.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/graphical-log.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/root.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/show_input.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/vbox-guest.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
nixos-modules/dhall/wm.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
overlay/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
final: prev:
with prev;
let

2
overlay/libc/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ genodeSources, symlinkJoin }:
symlinkJoin {

2
overlay/solo5-tools/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, buildPackages, fetchurl }:
# WARNING: recursive make ahead

4
packages/NOVA/default.nix

@ -1,6 +1,4 @@
# SPDX-FileCopyrightText: Emery Hemingway
#
# SPDX-License-Identifier: LicenseRef-Hippocratic-1.1
{ stdenv, buildPackages, fetchFromGitHub }:

2
packages/bender/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {

2
packages/block_router/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {

2
packages/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ nixpkgs }:
let

2
packages/dhall/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ callPackage }:
{

2
packages/dhall/genode.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, dhallPackages }:
dhallPackages.buildDhallPackage {

2
packages/genodelabs/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ buildPackages, targetPackages }:
let

2
packages/nic_bus/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {
pname = "nic_bus";

2
packages/rtc-dummy/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {

2
packages/show_input/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {
pname = "show_input";

2
packages/solo5/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, buildPackages, fetchurl, solo5-tools }:
# WARNING: recursive make ahead

2
packages/sotest-producer/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenv, fetchgit, tup }:
stdenv.mkDerivation rec {

2
packages/stdcxx/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ genodeSources }:
let port = genodeSources.ports.stdcxx;

2
tests/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ self, apps, localPackages, genodepkgs, lib, nixpkgs, legacyPackages }:
let

1
tests/driver_manager.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

1
tests/log.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

2
tests/log.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, ... }:
with pkgs;

1
tests/posix.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

2
tests/posix.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, legacyPackages, ... }:
with pkgs;

1
tests/solo5/blk.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
tests/solo5/default.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, ... }:
with pkgs;

1
tests/solo5/net.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
tests/solo5/net_2if.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

1
tests/solo5/solo5.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ../test.dhall ? env:DHALL_GENODE_TEST

1
tests/solo5/ssp.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ../test.dhall ? env:DHALL_GENODE_TEST

1
tests/solo5/time.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE

2
tests/test-wrapper.dhall

@ -1,4 +1,4 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST
let Genode = Test.Genode

1
tests/test.dhall

@ -1,3 +1,4 @@
let Genode = env:DHALL_GENODE
let Prelude = Genode.Prelude

1
tests/vmm_arm.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

2
tests/vmm_arm.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, localPackages, ... }:
{

1
tests/vmm_x86.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

2
tests/vmm_x86.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, ... }:
{

1
tests/x86.dhall

@ -1,4 +1,3 @@
-- SPDX-License-Identifier: CC0-1.0
let Test = ./test.dhall ? env:DHALL_GENODE_TEST

2
tests/x86.nix

@ -1,5 +1,3 @@
# SPDX-License-Identifier: CC0-1.0
{ pkgs, ... }: {
name = "x86";
constraints = builtins.any (spec: spec == "x86");

Cargando…
Cancelar
Guardar