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