forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#196817 from SuperSamus/bottles
Closes NixOS#192292 closes NixOS#182539 closes NixOS#181501
- Loading branch information
Showing
6 changed files
with
139 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/bottles/backend/utils/vulkan.py b/bottles/backend/utils/vulkan.py | ||
index 6673493..07f70d1 100644 | ||
--- a/bottles/backend/utils/vulkan.py | ||
+++ b/bottles/backend/utils/vulkan.py | ||
@@ -29,6 +29,8 @@ class VulkanUtils: | ||
"/etc/vulkan", | ||
"/usr/local/share/vulkan", | ||
"/usr/local/etc/vulkan" | ||
+ "/run/opengl-driver/share/vulkan/", | ||
+ "/run/opengl-driver-32/share/vulkan/", | ||
] | ||
if "FLATPAK_ID" in os.environ: | ||
__vk_icd_dirs += [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ lib, buildPythonPackage, fetchPypi, orjson}: | ||
|
||
buildPythonPackage rec { | ||
pname = "fvs"; | ||
version = "0.3.4"; | ||
|
||
src = fetchPypi { | ||
inherit version; | ||
pname = "FVS"; | ||
extension = "tar.gz"; | ||
sha256 = "sha256-yYd0HzdwbqB9kexJjBRRYmdsoWtZtcjCNRz0ZJVM5CI="; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
orjson | ||
]; | ||
|
||
# no tests in src | ||
doCheck = false; | ||
|
||
pythonImportsCheck = [ | ||
"fvs" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "File Versioning System with hash comparison and data storage to create unlinked states that can be deleted"; | ||
homepage = "https://github.com/mirkobrombin/FVS"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ bryanasdev000 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ lib, buildPythonPackage, fetchPypi, pefile, pillow}: | ||
|
||
buildPythonPackage rec { | ||
pname = "icoextract"; | ||
version = "0.1.4"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
extension = "tar.gz"; | ||
sha256 = "sha256-x0GEV0PUbkAzoUJgAqup9bHd7iYttGyzIZNdo8KsFyo="; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
pefile | ||
pillow | ||
]; | ||
|
||
# tests expect mingw and multiarch | ||
doCheck = false; | ||
|
||
pythonImportsCheck = [ | ||
"icoextract" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Extract icons from Windows PE files"; | ||
homepage = "https://github.com/jlu5/icoextract"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ bryanasdev000 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters