summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mstpd/default.nix
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2017-12-04 17:39:44 +0100
committerAndreas Rammhold <andreas@rammhold.de>2017-12-07 11:30:10 +0100
commit8ab4eb1b4ca607e3bebfcf968de048f1f2b73326 (patch)
tree1506dbc127dd55fc41eeab3dc2ebec98fb82f5c1 /pkgs/os-specific/linux/mstpd/default.nix
parent67a86f78139f9ab3bf83c0069db12a11e5a47393 (diff)
downloadnixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar.gz
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar.bz2
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar.lz
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar.xz
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.tar.zst
nixpkgs-8ab4eb1b4ca607e3bebfcf968de048f1f2b73326.zip
mstpd: svn 61 -> 0.0.5.20171113
Also fetches package from it's new home on GitHub and fixes compilation
with gcc-7 (#31747).
Diffstat (limited to 'pkgs/os-specific/linux/mstpd/default.nix')
-rw-r--r--pkgs/os-specific/linux/mstpd/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/mstpd/default.nix b/pkgs/os-specific/linux/mstpd/default.nix
index ce9136e2ddb..e9d654add49 100644
--- a/pkgs/os-specific/linux/mstpd/default.nix
+++ b/pkgs/os-specific/linux/mstpd/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchsvn }:
+{ stdenv, fetchFromGitHub, autoreconfHook }:
 
-stdenv.mkDerivation rec {
-  name = "mstpd-svn-${toString version}";
-  version = 61;
+stdenv.mkDerivation {
+  name = "mstpd-0.0.5.20171113";
 
-  src = fetchsvn {
-    url = "svn://svn.code.sf.net/p/mstpd/code/trunk";
-    rev = version;
-    sha256 = "0n5vqqqq8hk6iqdz100j9ps4zkz71vyl5qgz5bzjhayab2dyq1fd";
+  src = fetchFromGitHub {
+    owner = "mstpd";
+    repo = "mstpd";
+    rev = "2522c6eed201bce8dd81e1583f28748e9c552d0d";
+    sha256 = "0ckk386inwcx3776hf15w78hpw4db2rgv4zgf0i3zcylr83hhsr2";
   };
 
-  patches = [ ./fixes.patch ];
+  nativeBuildInputs = [ autoreconfHook ];
 
-  installFlags = [ "DESTDIR=\${out}" ];
+  installFlags = [ "DESTDIR=$(out)" ];
 
   meta = with stdenv.lib; {
     description = "Multiple Spanning Tree Protocol daemon";