summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/veroroute.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-07-20 16:00:14 +0200
committerlassulus <lassulus@lassul.us>2022-07-20 16:00:14 +0200
commit2c03c42bd62e6890f4193e3023b286a80e6d1dcd (patch)
treef1ee58f82393126da03086e92692c6e6bc04683e /krebs/5pkgs/simple/veroroute.nix
parent3853645a5e3891802d6b3d5bb015e85aaf4e5bfe (diff)
parent9170f1618efed14db081d1d3c3daa14bf3aabd8f (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/simple/veroroute.nix')
-rw-r--r--krebs/5pkgs/simple/veroroute.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/veroroute.nix b/krebs/5pkgs/simple/veroroute.nix
new file mode 100644
index 000000000..e40c98e75
--- /dev/null
+++ b/krebs/5pkgs/simple/veroroute.nix
@@ -0,0 +1,28 @@
+{ pkgs }:
+
+pkgs.stdenv.mkDerivation rec {
+ pname = "veroroute";
+ version = "2.28";
+
+ src = pkgs.fetchurl {
+ url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
+ sha256 = "04dig0g4v1rz50mjj1k6jk99rqbg24hdx8kzrlwv0dlxm567lvc7";
+ };
+
+ buildInputs = [
+ pkgs.qt5.qtbase
+ ];
+ nativeBuildInputs = [
+ pkgs.qt5.wrapQtAppsHook
+ ];
+
+ buildPhase = ''
+ qmake Src/veroroute.pro
+ make
+ '';
+
+ installPhase = ''
+ sed -i 's;/usr;;g' veroroute-install.sh
+ pkgdir=$out bash ./veroroute-install.sh
+ '';
+}