2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-07-17 02:23:45 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "shncpd";
|
2016-07-17 02:23:45 +00:00
|
|
|
version = "2016-06-22";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jech";
|
|
|
|
repo = "shncpd";
|
|
|
|
rev = "62ef688db7a6535ce11e66c8c93ab64a1bb09484";
|
|
|
|
sha256 = "1sj7a77isc2jmh7gw2naw9l9366kjx6jb909h7spj7daxdwvji8f";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags=( "PREFIX=$out" )
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-07-17 02:23:45 +00:00
|
|
|
description = "Simple, stupid and slow HNCP daemon";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.irif.univ-paris-diderot.fr/~jch/software/homenet/shncpd.html";
|
2016-07-17 02:23:45 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.fpletz ];
|
|
|
|
};
|
|
|
|
}
|