fix license
This commit is contained in:
parent
a0f64eb70e
commit
054da40f0f
4 changed files with 40 additions and 2 deletions
10
README.md
10
README.md
|
@ -6,7 +6,7 @@ into lua format.
|
||||||
This library was initially designed for my personal
|
This library was initially designed for my personal
|
||||||
[neovim flake](https://git.pleshevski.ru/mynix/neovim).
|
[neovim flake](https://git.pleshevski.ru/mynix/neovim).
|
||||||
|
|
||||||
## Installation
|
# Installation
|
||||||
|
|
||||||
Add nix2lua as input to your flake.nix
|
Add nix2lua as input to your flake.nix
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Add nix2lua as input to your flake.nix
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
# References
|
||||||
|
|
||||||
`toLua expr`
|
`toLua expr`
|
||||||
|
|
||||||
|
@ -76,3 +76,9 @@ Add nix2lua as input to your flake.nix
|
||||||
> (mkNamedField "bar" "baz")
|
> (mkNamedField "bar" "baz")
|
||||||
> ];
|
> ];
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
|
# License
|
||||||
|
|
||||||
|
GNU General Public License v3.0 or later
|
||||||
|
|
||||||
|
See [COPYING](./COPYING) to see the full text.
|
||||||
|
|
16
lib.nix
16
lib.nix
|
@ -1,3 +1,19 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2022, Dmitriy Pleshevskiy <dmitriy@pleshevski.ru>
|
||||||
|
*
|
||||||
|
* nix2lua is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* nix2lua is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with nix2lua. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
let
|
let
|
||||||
inherit (builtins) isString isFloat isInt isBool isList isAttrs isNull isPath;
|
inherit (builtins) isString isFloat isInt isBool isList isAttrs isNull isPath;
|
||||||
inherit (builtins) concatStringsSep filter mapAttrs attrValues;
|
inherit (builtins) concatStringsSep filter mapAttrs attrValues;
|
||||||
|
|
16
lib.test.nix
16
lib.test.nix
|
@ -1,3 +1,19 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2022, Dmitriy Pleshevskiy <dmitriy@pleshevski.ru>
|
||||||
|
*
|
||||||
|
* nix2lua is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* nix2lua is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with nix2lua. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue