diff options
author | Robert Helgesson <robert@rycee.net> | 2024-01-10 23:49:37 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2024-01-12 13:28:23 +0100 |
commit | 1a502c91a77e0c8bbc379f5b4097e31b9507ef59 (patch) | |
tree | 57ca7377f999c89f0deec87f9dffedb7a9f8dcb7 /pkgs/by-name/ni | |
parent | 15d4ee99520f565250404439e5f46f1fdb26cbde (diff) |
nix-lib-nmt: init at 0.5.0
Diffstat (limited to 'pkgs/by-name/ni')
-rw-r--r-- | pkgs/by-name/ni/nix-lib-nmt/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/ni/nix-lib-nmt/package.nix b/pkgs/by-name/ni/nix-lib-nmt/package.nix new file mode 100644 index 0000000000000..bfe6085b30d1f --- /dev/null +++ b/pkgs/by-name/ni/nix-lib-nmt/package.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchurl }: + +let version = "0.5.0"; +in stdenv.mkDerivation { + pname = "nix-lib-nmt"; + inherit version; + + # TODO: Restore when Sourcehut once its back from DDoS attack. + # src = fetchFromSourcehut { + # owner = "~rycee"; + # repo = "nmt"; + # rev = "v${version}"; + # hash = "sha256-1glxIg/b+8qr+ZsSsBqZIqGpsYWzRuMyz74/sy765Uk="; + # }; + + src = fetchurl { + url = "https://rycee.net/tarballs/nmt-${version}.tar.gz"; + hash = "sha256-AO1iLsfZSLbR65tRBsAqJ98CewfSl5yNf7C6XaZj0wM="; + }; + + 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 ]; + }; +} |