4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
24 lines
703 B
Nix
24 lines
703 B
Nix
{ lib, stdenv, pkgs }:
|
|
|
|
stdenv.mkDerivation {
|
|
version = "0.4.0";
|
|
pname = "ecdsautils";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "freifunk-gluon";
|
|
repo = "ecdsautils";
|
|
rev = "07538893fb6c2a9539678c45f9dbbf1e4f222b46";
|
|
sha256 = "18sr8x3qiw8s9l5pfi7r9i3ayplz4jqdml75ga9y933vj7vs0k4d";
|
|
};
|
|
|
|
nativeBuildInputs = with pkgs; [ cmake pkgconfig doxygen ];
|
|
buildInputs = with pkgs; [ libuecc ];
|
|
|
|
meta = with lib; {
|
|
description = "Tiny collection of programs used for ECDSA (keygen, sign, verify)";
|
|
homepage = "https://github.com/tcatm/ecdsautils/";
|
|
license = with licenses; [ mit bsd2 ];
|
|
maintainers = with maintainers; [ andir ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|