mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
[Backport release-26.05] sc-controller: 0.5.5 -> 0.6.2 (#544335)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
wrapGAppsHook3,
|
||||
@@ -20,14 +21,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "sc-controller";
|
||||
version = "0.5.5";
|
||||
version = "0.6.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "C0rn3j";
|
||||
repo = "sc-controller";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IQxHa0bR8FWad9v5DfvXHskwayCgzbJm5ekzf1sjfiQ=";
|
||||
hash = "sha256-jQcp3c3S6G6GrU6j0m5Re9S28eLGJxmvD81dOuHFCz8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -92,6 +93,11 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
)
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# Fix for tests not finding native libraries
|
||||
ln -s build/lib.*/*.so -t .
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user