-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
269 additions
and
67 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,70 @@ | ||
{ lib | ||
, stdenv | ||
, fetchFromGitLab | ||
, meson | ||
, ninja | ||
, pkg-config | ||
, gnome3 | ||
, glib | ||
, gtk3 | ||
, wayland | ||
, wayland-protocols | ||
, libxml2 | ||
, libxkbcommon | ||
, rustPlatform | ||
, feedbackd | ||
, wrapGAppsHook | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "squeekboard"; | ||
version = "unstable-2021-03-09"; | ||
|
||
src = fetchFromGitLab { | ||
domain = "source.puri.sm"; | ||
owner = "Librem5"; | ||
repo = pname; | ||
rev = "bffd212e102bf71a94c599aac0359a8d30d19008"; | ||
sha256 = "1j10zhyb8wyrcbryfj6f3drn9b0l9x0l7hnhy2imnjbfbnwwm4w7"; | ||
}; | ||
|
||
cargoDeps = rustPlatform.fetchCargoTarball { | ||
inherit src; | ||
cargoUpdateHook = '' | ||
cat Cargo.toml.in Cargo.deps > Cargo.toml | ||
''; | ||
name = "${pname}-${version}"; | ||
sha256 = "1qaqiaxqc4x2x5bd31na4c49vbjwrmz5clmgli7733dv55rxxias"; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
meson | ||
ninja | ||
pkg-config | ||
glib | ||
wayland | ||
wrapGAppsHook | ||
] ++ (with rustPlatform; [ | ||
cargoSetupHook | ||
rust.cargo | ||
rust.rustc | ||
]); | ||
|
||
buildInputs = [ | ||
gtk3 | ||
gnome3.gnome-desktop | ||
wayland | ||
wayland-protocols | ||
libxml2 | ||
libxkbcommon | ||
feedbackd | ||
]; | ||
|
||
meta = with lib; { | ||
description = "A virtual keyboard supporting Wayland"; | ||
homepage = "https://source.puri.sm/Librem5/squeekboard"; | ||
license = licenses.gpl3Plus; | ||
maintainers = with maintainers; [ artturin ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |
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
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
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
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
31 changes: 31 additions & 0 deletions
31
pkgs/development/python-modules/pytest-error-for-skips/default.nix
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 | ||
, fetchFromGitHub | ||
, pytest | ||
, pytestCheckHook | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pytest-error-for-skips"; | ||
version = "2.0.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jankatins"; | ||
repo = pname; | ||
rev = version; | ||
sha256 = "04i4jd3bg4lgn2jfh0a0dzg3ml9b2bjv2ndia6b64w96r3r4p3qr"; | ||
}; | ||
|
||
buildInputs = [ pytest ]; | ||
|
||
checkInputs = [ pytestCheckHook ]; | ||
|
||
pythonImportsCheck = [ "pytest_error_for_skips" ]; | ||
|
||
meta = with lib; { | ||
description = "Pytest plugin to treat skipped tests a test failures"; | ||
homepage = "https://github.com/jankatins/pytest-error-for-skips"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ fab ]; | ||
}; | ||
} |
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
Oops, something went wrong.