nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 680 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation { 8 pname = "dumpnar"; 9 version = "0-unstable-2023-01-01"; 10 11 src = fetchFromGitHub { 12 owner = "stephank"; 13 repo = "dumpnar"; 14 rev = "7b05e204264183532e8592ad132f74ddf05bc428"; 15 hash = "sha256-762vgCn2d6QoXRBjpe/SyHKgyQJAV0sEl1prcyf/ClE="; 16 }; 17 18 installPhase = '' 19 mkdir -p $out/bin 20 cp dumpnar $out/bin/ 21 ''; 22 23 meta = { 24 homepage = "https://github.com/stephank/dumpnar"; 25 description = "Minimal tool to produce a Nix NAR archive"; 26 license = lib.licenses.lgpl2Plus; 27 platforms = lib.platforms.all; 28 maintainers = [ lib.maintainers.stephank ]; 29 mainProgram = "dumpnar"; 30 }; 31}