2
0
Fork 0
genodepkgs/packages/block_router/default.nix

25 lines
505 B
Nix
Raw Normal View History

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";
rev = "v" + version;
2020-04-13 09:10:45 +02:00
sha256 = "0vw3s4q3rp5dp1i93sq0cybfssh3gbqgyqg6k69781pjda7mzn54";
2020-04-04 12:47:44 +02:00
};
installPhase = "install -Dm755 {.,$out}/block_router";
meta = with stdenv.lib; {
license = licenses.agpl3;
maintainers = [ maintainers.ehmry ];
};
}