nixpkgs/pkgs/tools/archivers/dumpnar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
645 B
Nix
Raw Normal View History

2023-01-01 19:19:40 +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";
description = "Minimal tool to produce a Nix NAR archive.";
license = licenses.lgpl2Plus;
platforms = platforms.all;
maintainers = [ maintainers.stephank ];
};
}