Comments (10)
Yes, I did.
default.nix
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
libsForQt5.callPackage ./rmview.nix { }
rmview.nix
{ stdenv, fetchFromGitHub, mkDerivationWith, python3Packages }:
mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "rmview";
version = "1.0";
src = fetchFromGitHub {
owner = "bordaigorl";
repo = "rmview";
rev = "v${version}";
sha256 = "1d90cdvwxhdx5m9pv7wdnkrywnxsjs73z2w3xgrcafviwlpyy857";
};
patchPhase = "substituteInPlace src/rmview/rmview.py --replace 'from . import resources' ''";
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
propagatedBuildInputs = with python3Packages; [
pyqt5
paramiko
twisted
];
meta = with stdenv.lib; {
homepage = "https://github.com/bordaigorl/rmview";
description = "Library to get the currently playing song and artist from Spotify";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}
from rmview.
For anyone reading this, the issue @anka-213 encountered was fixed by disabling sandboxing in nix.conf
since it is problematic on macOS.
from rmview.
I should note that this only happens when trying to build using Nix at rev e3a0384edf0fb05b9572be6813601d9bc8774de4
config.json
{
"ssh": {
"address": "10.11.99.1",
"username": "root",
"key": "~/.ssh/id_rsa",
"timeout": 1
},
"orientation": "portrait",
"pen_size": 10,
"pen_color": "red",
"background_color": "white"
}
from rmview.
Found the cause of the issue, the rM-vnc-server
mxc_epdc_fb_damage.ko
binaries on the rM had to be overwritten.
from rmview.
Did you succeed at packaging this?
from rmview.
Thanks!
from rmview.
Hmm, I get a segfault:
copying src/rmview/viewer.py -> build/lib/rmview
copying src/rmview/rmparams.py -> build/lib/rmview
copying src/rmview/__init__.py -> build/lib/rmview
copying src/rmview/connection.py -> build/lib/rmview
copying src/rmview/rfb.py -> build/lib/rmview
copying src/rmview/workers.py -> build/lib/rmview
copying src/rmview/__main__.py -> build/lib/rmview
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
/nix/store/31g9w6f5nmbcqjllx6cflazaxh7f3008-setuptools-setup-hook/nix-support/setup-hook: line 17: 2730 Segmentation fault: 11 /nix/store/65gmh01007csxmd6bbkvas8zkhlw0k7n-python3-3.8.6/bin/python3.8 nix_run_setup bdist_wheel
Do you have any clue why?
from rmview.
Interesting. What platform are you on?
from rmview.
Darwin
from rmview.
Is your channel up to date? The only inconsistency between our machines then must be the channel since I put <nixpkgs>
as the default value for pkgs
.
Edit: I just ran nix-build --check
and it still builds as before.
from rmview.
Related Issues (20)
- Strange color rendering HOT 5
- Turning page time HOT 3
- rmview hung on authentication HOT 15
- [FR] Named ssh connections
- configparser.DuplicateOptionError after Update 2.14 HOT 4
- Running on Linux HOT 3
- Authenticated but not sharing HOT 1
- Connection error with fw 2.15.0.1052 HOT 3
- rm 3.0 compatibility issues? Screen view not functioning HOT 43
- Couldn't listen on any:5901: [Errno 98] Address already in use.
- rmview screen doesn't respond, only show the trail HOT 1
- Update tooling HOT 2
- add fullscreen mode HOT 3
- RM Version 3.6 - libcrypto.so.1.1 not found HOT 5
- Recommend installation using Pipx
- Issues connecting HOT 1
- Screen stuck on "Connecting to reMarkable..." but red-dot is there, seems to be stuck on authentication HOT 7
- VNcClient auth failed, currently ignored HOT 2
- libGL error: MESA-LOADER: failed to retrieve device information HOT 4
- Unable to screen share with os version 3.11.2.5 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmview.