depot/pkgs/by-name/ni/nix-lib-nmt/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
703 B
Nix

{ lib, stdenv, fetchFromSourcehut }:
let version = "0.5.1";
in stdenv.mkDerivation {
pname = "nix-lib-nmt";
inherit version;
src = fetchFromSourcehut {
owner = "~rycee";
repo = "nmt";
rev = "v${version}";
hash = "sha256-krVKx3/u1mDo8qe5qylYgmwAmlAPHa1BSPDzxq09FmI=";
};
outputHashMode = "recursive";
outputHash = "sha256-N7kGGDDXsXtc1S3Nqw7lCIbnVHtGNNLM1oO+Xe64hSE=";
installPhase = ''
mkdir -pv "$out"
cp -rv * "$out"
'';
meta = {
homepage = "https://git.sr.ht/~rycee/nmt";
description = "Basic test framework for projects using the Nixpkgs module system";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rycee ];
};
}