+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
9687527
main
1{ pkgs , python3 , fetchPypi } : 2 3python3 . pkgs . buildPythonApplication rec { 4pname = "fio-plot" ; 5version = "1.1.7" ; 6format = "setuptools" ; 7src = fetchPypi { 8inherit pname version ; 9hash = "sha256-5IVWjpK+gZfQSvJMFD1PFaEfKaXy9lcyzOnfm0UwFbA=" ; 10}; 11nativeBuildInputs = with pkgs ; [ fio ]; 12propagatedBuildInputs = with python3 . pkgs ; [ 13numpy matplotlib pillow pyparsing 14]; 15# pyan3 is only used for internal documentation 16# I'm not sure why the "scripts" part breaks things but removing it seems to work 17postPatch = '' 18substituteInPlace ./setup.py --replace "'pyan3', " "" 19substituteInPlace ./setup.py --replace \ 20"scripts=['bin/fio-plot', 'bin/bench-fio']," "" 21'' ; 22 23meta . platforms = [ "x86_64-linux" ]; 24}