mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
gede: init at 2.0.3
This commit is contained in:
parent
189e7add9b
commit
f54b52f962
11
pkgs/development/tools/misc/gede/build.patch
Normal file
11
pkgs/development/tools/misc/gede/build.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/build.py 2017-01-16 21:12:43.000000000 +0100
|
||||
+++ b/build.py 2017-02-26 22:03:11.394625315 +0100
|
||||
@@ -71,7 +71,7 @@
|
||||
if do_build:
|
||||
if not os.path.exists("Makefile"):
|
||||
print("Generating makefile")
|
||||
- if subprocess.call(['qmake-qt4']):
|
||||
+ if subprocess.call(['qmake']):
|
||||
exit(1)
|
||||
|
||||
print("Compiling (please wait)")
|
31
pkgs/development/tools/misc/gede/default.nix
Normal file
31
pkgs/development/tools/misc/gede/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{stdenv, fetchurl, ctags, qt4, python}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "2.0.3";
|
||||
name = "gede-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://gede.acidron.com/uploads/source/${name}.tar.xz";
|
||||
sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
|
||||
};
|
||||
|
||||
buildInputs = [ ctags qt4 python ];
|
||||
patches = [ ./build.patch ];
|
||||
|
||||
unpackPhase = ''
|
||||
tar xf ${src}
|
||||
cd ${name}
|
||||
'';
|
||||
configurePhase = "";
|
||||
buildPhase = "";
|
||||
installPhase = "./build.py install --prefix=$out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graphical frontend (GUI) to GDB";
|
||||
homepage = "http://gede.acidron.com";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ juliendehos ];
|
||||
};
|
||||
}
|
||||
|
@ -6414,6 +6414,8 @@ with pkgs;
|
||||
|
||||
funnelweb = callPackage ../development/tools/literate-programming/funnelweb { };
|
||||
|
||||
gede = callPackage ../development/tools/misc/gede { };
|
||||
|
||||
pmd = callPackage ../development/tools/analysis/pmd { };
|
||||
|
||||
jdepend = callPackage ../development/tools/analysis/jdepend { };
|
||||
|
Loading…
Reference in New Issue
Block a user