2020-04-04 12:47:44 +02:00
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2020-04-19 17:37:51 +02:00
|
|
|
{ stdenv, fetchgit, tup }:
|
2020-04-04 12:47:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "block_router";
|
2020-04-13 09:10:45 +02:00
|
|
|
version = "0.1.1";
|
2020-04-04 12:47:44 +02:00
|
|
|
|
2020-04-19 17:37:51 +02:00
|
|
|
nativeBuildInputs = [ tup ];
|
2020-04-04 12:47:44 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.sr.ht/~ehmry/block_router";
|
2020-05-07 21:31:29 +02:00
|
|
|
rev = "d229379abd16d6b19872b83772da81a2473f18ae";
|
|
|
|
sha256 = "1wrz7r72psnxfaaj2gjp5zxy8h4k8ahbyjp8y70ghr9rm1hsdhj4";
|
2020-04-04 12:47:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = "install -Dm755 {.,$out}/block_router";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|