sha512

Pure Haskell SHA-512, HMAC-SHA512 (docs.ppad.tech/sha512).
git clone git://git.ppad.tech/sha512.git
Log | Files | Refs | README | LICENSE

commit e8ce88cafbf32900556832d3817997642f128242
parent b9a1d467109b69a8cb8eaa8f0c9c5c6e00ee6702
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun, 19 Jan 2025 18:57:40 +0400

meta: use nixpkgs and flake-utils from ppad-nixpkgs

Diffstat:
Mflake.lock | 29++++++++++++++++++++++++++++-
Mflake.nix | 11++++++++---
2 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -34,10 +34,37 @@ "type": "github" } }, - "root": { + "ppad-nixpkgs": { "inputs": { "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1737297101, + "narHash": "sha256-EnXnq+JLflbWt+DvaGGnY2gfAqsGNOm5vPgHh3hkfwQ=", + "ref": "master", + "rev": "f29823875250bc99b3891f7373535ccde9a29a44", + "revCount": 1, + "type": "git", + "url": "git://git.ppad.tech/nixpkgs.git" + }, + "original": { + "ref": "master", + "type": "git", + "url": "git://git.ppad.tech/nixpkgs.git" + } + }, + "root": { + "inputs": { + "flake-utils": [ + "ppad-nixpkgs", + "flake-utils" + ], + "nixpkgs": [ + "ppad-nixpkgs", + "nixpkgs" + ], + "ppad-nixpkgs": "ppad-nixpkgs" } }, "systems": { diff --git a/flake.nix b/flake.nix @@ -2,11 +2,16 @@ description = "Pure Haskell SHA-512 and HMAC-SHA512"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - flake-utils.url = "github:numtide/flake-utils"; + ppad-nixpkgs = { + type = "git"; + url = "git://git.ppad.tech/nixpkgs.git"; + ref = "master"; + }; + flake-utils.follows = "ppad-nixpkgs/flake-utils"; + nixpkgs.follows = "ppad-nixpkgs/nixpkgs"; }; - outputs = { self, nixpkgs, flake-utils }: + outputs = { self, nixpkgs, flake-utils, ppad-nixpkgs }: flake-utils.lib.eachDefaultSystem (system: let lib = "ppad-sha512";