vers: 1.0.1 bump

main
Ingolf Wagner 2021-09-28 22:17:59 +02:00
parent a4d29644f7
commit 3f6238f39d
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
4 changed files with 14 additions and 21 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "polygon-art"
version = "1.0.0"
version = "1.0.1"
authors = ["Ingolf Wagner <contact@ingolf-wagner.de>"]
edition = "2018"

View File

@ -36,11 +36,6 @@ cargo run --example clipping -- --help # run the examples/clipping
```shell
nix build
```
or (if you haven't enabled flakes yet)
``` shell
nix-shell -p nixFlake --run "nix build"
```
# How to us it (with flakes)
@ -68,3 +63,14 @@ nix-shell -p nixFlake --run "nix build"
}
```
# How to update
``` shell
cargo update # to update Cargo.lock
```
and
``` shell
nix flake update # to update flake.lock
nix build # to verify if everything is ok
```

View File

@ -1,5 +1,4 @@
{ rustPlatform,
fetchgit,
lib,
cairo,
geos,
@ -14,18 +13,8 @@
rustPlatform.buildRustPackage {
pname = "polygon-art";
version = "1.0.0";
# nix-prefetch-git-rendered --rev refs/heads/develop https://git.ingolf-wagner.de/palo/polygon-art.git
#src = fetchgit {
# url = "https://git.ingolf-wagner.de/palo/polygon-art.git";
# rev = "dfb6e0789ec67ee649050ad3b16d8b6a6b38955d";
# sha256 = "0iqmikvl93pazxfd120hcr0waxav7zy6px5kmdqxifrjgdbda9xx";
#};
version = "1.0.1";
src = ./.;
#cargoSha256 = "05rkn8iihj4j9k179xx7wn2a07hxks050raj6fbxmj6gdx6aj170";
cargoSha256 = "0sgk4hw77cxqbqzd258fz67r7fpjblkm7cqh14n5f1c43y8vgxa0";
verifyCargoDeps = true;

View File

@ -1,9 +1,6 @@
{
description = "Framework with examples to generate plotter friendly SVGs";
#inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils , ... }:
flake-utils.lib.eachDefaultSystem (system:
let
@ -12,6 +9,7 @@
in {
packages.polygon-art = polygon-art;
defaultPackage = polygon-art;
devShell = import ./shell.nix { inherit pkgs; };
}
);
}