gdbgui: reorder
This commit is contained in:
@@ -7,10 +7,20 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "gdbgui";
|
||||
|
||||
version = "0.15.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
echo ${finalAttrs.version} > gdbgui/VERSION.txt
|
||||
# relax version requirements
|
||||
sed -i 's/==.*$//' requirements.txt
|
||||
'';
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
buildInputs = [ gdb ];
|
||||
@@ -23,17 +33,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pygments
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
echo ${finalAttrs.version} > gdbgui/VERSION.txt
|
||||
# relax version requirements
|
||||
sed -i 's/==.*$//' requirements.txt
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gdbgui \
|
||||
--prefix PATH : ${lib.makeBinPath [ gdb ]}
|
||||
|
||||
Reference in New Issue
Block a user