nix-bitcoin/pkgs/krops/default.nix
Erik Arvstedt 68ef662654
krops: don't reimport pkgs
Previously, the krops pkg was accessed by evaluating nixpkgs with the
krops overlay.
Now directly call krops with an existing pkgs instance.
2022-07-04 10:16:46 +02:00

16 lines
385 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
src = pkgs.fetchgit {
url = "https://cgit.krebsco.de/krops";
rev = "1.26.2";
sha256 = "0mzn213dh3pklvdzfpwi4nin4lncdap447zvl11j81r809jll76j";
};
in {
lib = import "${src}/lib";
pkgs = rec {
krops = pkgs.callPackage "${src}/pkgs/krops" { inherit populate; };
populate = pkgs.callPackage "${src}/pkgs/populate" {};
};
}