add polygon art
This commit is contained in:
parent
9c74f91dc0
commit
1a5ff2a28f
2 changed files with 14 additions and 15 deletions
|
@ -7,6 +7,8 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
|
polygon-art
|
||||||
|
|
||||||
# bluetooth gui
|
# bluetooth gui
|
||||||
blueberry
|
blueberry
|
||||||
|
|
||||||
|
|
|
@ -1,30 +1,27 @@
|
||||||
{ rustPlatform, fetchgit, stdenv, cairo, geos, clipper, clang, pkg-config
|
{ rustPlatform, fetchgit, stdenv, cairo, geos, clipper, clang, pkg-config, cmake
|
||||||
, cmake , openssl, llvmPackages, ... }:
|
, openssl, llvmPackages, ... }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
name = "polygon-art-${version}";
|
name = "polygon-art-${version}";
|
||||||
|
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
# src = ./.;
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.ingolf-wagner.de/palo/polygon-art.git";
|
url = "https://git.ingolf-wagner.de/palo/polygon-art.git";
|
||||||
rev = "b30d687963b0c95dd27c8a37eae9c9f1a4fff1f6";
|
rev = "bc571b10a8be3357b517d2c413c0c2111593e4bf";
|
||||||
sha256 = "14n13512cznnlmr70zi6ir4g3k4aj6swn49xvlf9yapr0f826v0x";
|
sha256 = "0dn3111cy50znxr5hawmkz3lcywxhzjz77jqq88pf1dh03jy2f45";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1snkq7sij24i3dfrjrm49p4hadif63nkq4zwn3ry9szjars298z3";
|
cargoSha256 = "05rkn8iihj4j9k179xx7wn2a07hxks050raj6fbxmj6gdx6aj170";
|
||||||
#verifyCargoDeps = true;
|
verifyCargoDeps = true;
|
||||||
|
|
||||||
buildInputs = [ cairo geos clipper openssl ];
|
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
buildInputs = [ cairo geos clipper openssl ];
|
||||||
cmake
|
|
||||||
llvmPackages.clang
|
|
||||||
llvmPackages.libclang
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
|
nativeBuildInputs =
|
||||||
|
[ cmake llvmPackages.clang llvmPackages.libclang pkg-config ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description =
|
description =
|
||||||
|
|
Loading…
Reference in a new issue