-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
fio-plot: 1.1.16 #435004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fio-plot: 1.1.16 #435004
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| python3Packages, | ||
| }: | ||
| (python3Packages.toPythonApplication python3Packages.fio_plot).overrideAttrs (old: { | ||
| meta = old.meta // { | ||
| mainProgram = "fio-plot"; | ||
| }; | ||
| }) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| { | ||
| lib, | ||
| fetchFromGitHub, | ||
| fetchpatch2, | ||
| buildPythonPackage, | ||
| matplotlib, | ||
| numpy, | ||
| pillow, | ||
| pyan3, | ||
| pypaBuildHook, | ||
| rich, | ||
| setuptools, | ||
| pytestCheckHook, | ||
| }: | ||
|
|
||
| buildPythonPackage rec { | ||
| pname = "fio_plot"; | ||
| version = "1.1.16"; | ||
|
|
||
| pyproject = true; | ||
| build-system = [ setuptools ]; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "louwrentius"; | ||
| repo = "fio-plot"; | ||
| tag = "v${version}"; | ||
| hash = "sha256-yN0gVm6ZYEIoh91d+0ohJ9yU+VWwYEq3MoG+WgBrs2Q="; | ||
| }; | ||
|
|
||
| patches = map (patch: fetchpatch2 { | ||
| url = "https://github.com/louwrentius/fio-plot/commit/${patch.rev}.patch?full_index=1"; | ||
| inherit (patch) hash; | ||
| }) | ||
| [ | ||
| { | ||
| rev = "420f46508bf861d5279c9b378ca7b08e39a828f6"; | ||
| hash = "sha256-GrKdExbVuvtb+Ru1kGff30WU2RWvSKTu7yl0yk0IZUs="; | ||
| } | ||
| { | ||
| rev = "610fb3b03435fe957f71ddd8f95f51c743e1061d"; | ||
| hash = "sha256-n1vvkwuXWxquQL0t7Ppo+jvgchc42IkkW1Z6hWro5hQ="; | ||
| } | ||
| { | ||
| rev = "6683208c94e8087a1629c4a7204f9dec5dea5ca9"; | ||
| hash = "sha256-pNABP+m1ID1JbKKKXdQQieXx2FHhF7OeOH1limA895A="; | ||
| } | ||
| { | ||
| rev = "ebfdab83df2b9d435834507106e2151ac99d7ff3"; | ||
| hash = "sha256-RXJS1TXHuCU6QuJ4ES4mGdWKwe1NKF9Qr2QQAk/TxbQ="; | ||
| } | ||
| { | ||
| rev = "a53d97d5f094ca6bed841cb7e95563d5ad0e2b53"; | ||
| hash = "sha256-VKtglKfOgZ+v3Zj2dcAMpVk/EzyK21W5RmjjKGQgFgo="; | ||
| } | ||
| ]; | ||
|
|
||
| dependencies = [ | ||
| matplotlib | ||
| numpy | ||
| pillow | ||
| pyan3 | ||
| rich | ||
| ]; | ||
|
|
||
| nativeBuildInputs = [ | ||
| pytestCheckHook | ||
| ]; | ||
|
|
||
| pythonImportsCheck = [ "fio_plot" ]; | ||
|
|
||
| meta = { | ||
| description = "Create charts from FIO storage benchmark tool output"; | ||
| homepage = "https://github.com/louwrentius/fio-plot"; | ||
| license = lib.licenses.bsd3; | ||
| maintainers = with lib.maintainers; [ johnrichardrinehart ]; | ||
| }; | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,37 @@ | ||||||
| { | ||||||
| lib, | ||||||
| buildPythonPackage, | ||||||
| fetchFromGitHub, | ||||||
| jinja2, | ||||||
| setuptools, | ||||||
| pytestCheckHook, | ||||||
| }: | ||||||
|
|
||||||
| let | ||||||
| version = "v1.2.0"; | ||||||
| in | ||||||
| buildPythonPackage { | ||||||
| pname = "pyan3"; | ||||||
| pyproject = true; | ||||||
| inherit version; | ||||||
|
|
||||||
| src = fetchFromGitHub { | ||||||
| owner = "Technologicat"; | ||||||
| repo = "pyan"; | ||||||
| tag = version; | ||||||
| hash = "sha256-v+wszUOCib/8962dnNWwtD0saF9NsNSBQ154lovox4w="; | ||||||
| }; | ||||||
|
|
||||||
| build-system = [ setuptools ]; | ||||||
|
|
||||||
| nativeBuildInputs = [ jinja2 ]; | ||||||
|
|
||||||
|
||||||
| pythonImportsCheck = [ "pyan3" ]; |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add pytest
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add mainProgram
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a package. It does not have a mainProgram. At least not how it is used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget the import check