e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
27 lines
673 B
Nix
27 lines
673 B
Nix
{ 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 ];
|
|
mainProgram = "dumpnar";
|
|
};
|
|
}
|