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
1 changed file
with
107 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ lib | ||
, python3Packages | ||
, fetchFromGitHub | ||
, meson | ||
, ninja | ||
, pkg-config | ||
, gobject-introspection | ||
, blueprint-compiler | ||
, wrapGAppsHook4 | ||
, desktop-file-utils | ||
, libadwaita | ||
, gtksourceview5 | ||
, webkitgtk_6_0 | ||
, gcr_4 | ||
}: | ||
|
||
python3Packages.buildPythonApplication rec { | ||
pname = "devtoolbox"; | ||
version = "1.1.1"; | ||
pyproject = false; | ||
|
||
src = fetchFromGitHub { | ||
owner = "aleiepure"; | ||
repo = "devtoolbox"; | ||
rev = "v${version}"; | ||
hash = "sha256-QFGEA+VhhRlvcch2AJrEzvRJGCSqtvZdMXWUvdAGkoU="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
meson | ||
ninja | ||
pkg-config | ||
gobject-introspection | ||
blueprint-compiler | ||
wrapGAppsHook4 | ||
desktop-file-utils | ||
]; | ||
|
||
buildInputs = [ | ||
libadwaita | ||
gtksourceview5 | ||
webkitgtk_6_0 | ||
gcr_4 | ||
]; | ||
|
||
propagatedBuildInputs = with python3Packages; [ | ||
pygobject3 | ||
ruamel-yaml | ||
lxml | ||
python-crontab | ||
jwt | ||
jsonschema | ||
pytz | ||
tzlocal | ||
python-lorem | ||
uuid6 | ||
textstat | ||
markdown2 | ||
daltonlens | ||
asn1crypto | ||
qrcode | ||
sqlparse | ||
jsbeautifier | ||
cssbeautifier | ||
humanize | ||
croniter | ||
python-dateutil | ||
]; | ||
|
||
dontWrapGApps = true; | ||
|
||
preFixup = '' | ||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}") | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Development tools at your fingertips"; | ||
longDescription = '' | ||
If you're tired of endlessly looking online for the right | ||
tool, or to find again that website of which you don't | ||
recall the name to do a quick conversion, this is the | ||
right app for you. This is a collection of powerful yet | ||
simple-to-use tools and utilities to solve the most common | ||
daily development problems: | ||
- JSON to YAML converter and vice-versa | ||
- CRON expressions parser | ||
- Formatters for common languages | ||
- Hash generators | ||
- Regex tester | ||
- Markdown Previewer | ||
- Image converters | ||
- Much more... | ||
''; | ||
homepage = "https://github.com/aleiepure/devtoolbox"; | ||
license = with licenses; [ | ||
gpl3Plus | ||
cc0 | ||
lgpl3Only | ||
mit | ||
unlicense | ||
]; | ||
mainProgram = "devtoolbox"; | ||
maintainers = with maintainers; [ aleksana ]; | ||
platforms = platforms.unix; | ||
}; | ||
} |