mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #97254 from r-ryantm/auto-update/sumorobot-manager
sumorobot-manager: 0.9.0 -> 1.0.0
This commit is contained in:
commit
921460b715
@ -1,22 +1,22 @@
|
||||
{ lib, stdenv, python3, qt5, fetchFromGitHub, wrapPython, pyqt5, pyserial }:
|
||||
{ lib, stdenv, python3, qt5, fetchFromGitHub, wrapPython, pyqt5, pyserial, dos2unix }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sumorobot-manager";
|
||||
version = "0.9.0";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robokoding";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "03zhb54c259a66hsahmv2ajbzwcjnfjj050wbjhw51zqzxinlgqr";
|
||||
sha256 = "07snhwmqqp52vdgr66vx50zxx0nmpmns5cdjgh50hzlhji2z1fl9";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
pythonPath = [
|
||||
pyqt5 pyserial
|
||||
pyqt5.dev pyserial
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapPython qt5.wrapQtAppsHook ];
|
||||
nativeBuildInputs = [ wrapPython qt5.wrapQtAppsHook dos2unix ];
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||
cp -r main.py lib res $out/opt/sumorobot-manager
|
||||
chmod -R 644 $out/opt/sumorobot-manager/lib/*
|
||||
mkdir $out/bin
|
||||
dos2unix $out/opt/sumorobot-manager/main.py
|
||||
makeQtWrapper $out/opt/sumorobot-manager/main.py $out/bin/sumorobot-manager \
|
||||
--run "cd $out/opt/sumorobot-manager"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user