-
-
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.
- Loading branch information
Showing
7 changed files
with
114 additions
and
5 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,28 @@ | ||
{ lib | ||
, stdenv | ||
, writeText | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "arduino-udev-rules"; | ||
version = "0.0.0"; | ||
|
||
src = writeText pname '' | ||
# Arduino Nano | ||
ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8037", MODE="0666", TAG+="uaccess" | ||
''; | ||
|
||
dontUnpack = true; | ||
|
||
installPhase = '' | ||
install -Dm 644 "${src}" "$out/lib/udev/rules.d/70-arduino.rules" | ||
''; | ||
|
||
meta = with lib; { | ||
description = "UDev rules for Arduino boards"; | ||
homepage = "https://www.arduino.cc/"; | ||
maintainers = [ "mrnossiom" ]; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ lib | ||
, stdenv | ||
, fetchurl | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "probe-rs-udev-rules"; | ||
version = "0.0.0"; | ||
|
||
src = fetchurl { | ||
url = "https://probe.rs/files/69-probe-rs.rules"; | ||
hash = "sha256-SdwESnOuvOKMsTvxyA5c4UwtcS3kU33SlNttepMm7HY="; | ||
}; | ||
|
||
dontUnpack = true; | ||
|
||
installPhase = '' | ||
install -Dm 644 "${src}" "$out/lib/udev/rules.d/69-probe-rs.rules" | ||
''; | ||
|
||
meta = with lib; { | ||
description = "UDev rules for Probe-rs supported probes calculators"; | ||
homepage = "https://probe.rs/"; | ||
maintainers = [ "mrnossiom" ]; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ lib | ||
, stdenv | ||
, fetchurl | ||
, ... | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
pname = "serenityos-emoji-font"; | ||
version = "0.0.0"; | ||
|
||
src = fetchurl { | ||
url = "https://linusg.github.io/serenityos-emoji-font/SerenityOS-Emoji.ttf"; | ||
hash = "sha256-j3icyvz8BVI1i8erLj80yuoilxdhodQvBMaTwxs9Xm4="; | ||
}; | ||
|
||
dontUnpack = true; | ||
|
||
installPhase = '' | ||
install -Dm644 $src $out/share/fonts/truetype/SerenityOS-Emoji.ttf | ||
''; | ||
|
||
meta = with lib; { | ||
description = "SerenityOS🐞 emoji set is a fantastic pixel art🎨 set built for SerenityOS but now available for everyone, each glyph is at most 10x10px🔍"; | ||
homepage = "https://emoji.serenityos.org/"; | ||
license = licenses.bsd2; | ||
maintainers = with maintainers; [ "mrnossiom" ]; | ||
}; | ||
} |