mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
28 lines
684 B
Nix
28 lines
684 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "shncpd-${version}";
|
|
version = "2016-06-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jech";
|
|
repo = "shncpd";
|
|
rev = "62ef688db7a6535ce11e66c8c93ab64a1bb09484";
|
|
sha256 = "1sj7a77isc2jmh7gw2naw9l9366kjx6jb909h7spj7daxdwvji8f";
|
|
};
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
preConfigure = ''
|
|
makeFlags=( "PREFIX=$out" )
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simple, stupid and slow HNCP daemon";
|
|
homepage = https://www.irif.univ-paris-diderot.fr/~jch/software/homenet/shncpd.html;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.fpletz ];
|
|
};
|
|
}
|