MAINT: Bump version to v0.7.3

This commit is contained in:
Jeremy Wall 2023-01-16 15:50:36 -05:00
parent ca7347e164
commit 383addf48e
6 changed files with 33 additions and 12 deletions

2
Cargo.lock generated
View File

@ -522,7 +522,7 @@ dependencies = [
[[package]]
name = "ucg"
version = "0.7.2"
version = "0.7.3"
dependencies = [
"abortable_parser",
"atty",

View File

@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ucg"
version = "0.7.2"
version = "0.7.3"
authors = ["Jeremy Wall <jeremy@marzhillstudios.com>"]
description = "A configuration generation grammar."
repository = "https://github.com/zaphar/ucg"

11
default.nix Normal file
View File

@ -0,0 +1,11 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
(import (
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
) {
src = ./.;
}).defaultNix

12
flake.lock generated
View File

@ -33,11 +33,11 @@
},
"flake-utils_2": {
"locked": {
"lastModified": 1637014545,
"narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=",
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github"
},
"original": {
@ -110,11 +110,11 @@
]
},
"locked": {
"lastModified": 1652410199,
"narHash": "sha256-R9pEim8k6GIYadmyTRh2jpvUDkFJ857DhUwdnJUCf/o=",
"lastModified": 1673836088,
"narHash": "sha256-cAlfrHbX9sLcRdydMP8vhyxZChlVHqkEkumgc2LK4FY=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "fe0bc0004e5db3f8034021b4968b26b29fd9edef",
"rev": "8f201a1adfddf715b708befd18164c8cbe65a268",
"type": "github"
},
"original": {

View File

@ -18,18 +18,29 @@
outputs = {self, nixpkgs, flake-utils, rust-overlay, naersk, flake-compat}:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ rust-overlay.overlay ];
overlays = [ rust-overlay.overlays.default ];
pkgs = import nixpkgs { inherit system overlays; };
naersk-lib = naersk.lib."${system}";
rust-bin = pkgs.rust-bin.stable."1.64.0".default.override {
extensions = [ "rust-src" ];
# Add wasm32 as an extra target besides the native target.
targets = [ "wasm32-unknown-unknown" ];
};
naersk-lib = pkgs.callPackage naersk {
rustc = rust-bin;
cargo = rust-bin;
};
ucg = with pkgs;
naersk-lib.buildPackage rec {
pname = "ucg";
version = "0.7.2";
version = "0.7.3";
src = ./.;
cargoBuildOptions = opts: opts ++ ["-p" "${pname}" ];
};
in
{
packages = {
inherit ucg;
};
defaultPackage = ucg;
defaultApp = {
type = "app";

1
result
View File

@ -1 +0,0 @@
/nix/store/v90fwz0dfbnlghwkhahfq5fjd8yk39m7-ucg-0.7.2