2023-03-15 16:39:30 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dumpnar";
|
|
|
|
version = "unstable-2023-01-01";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stephank";
|
|
|
|
repo = "dumpnar";
|
|
|
|
rev = "7b05e204264183532e8592ad132f74ddf05bc428";
|
|
|
|
hash = "sha256-762vgCn2d6QoXRBjpe/SyHKgyQJAV0sEl1prcyf/ClE=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp dumpnar $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/stephank/dumpnar";
|
2024-01-13 08:15:51 +00:00
|
|
|
description = "Minimal tool to produce a Nix NAR archive";
|
2023-03-15 16:39:30 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.stephank ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "dumpnar";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
}
|