blob: e2285574a9a6f0c8acd6c1f5642bbedff51c9c8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ 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 ];
};
}
|