depot/third_party/nixpkgs/pkgs/by-name/ni/nix-lib-nmt/package.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

29 lines
705 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 = "A basic test framework for projects using the Nixpkgs module system";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rycee ];
};
}