nixpkgs-suyu/pkgs/tools/nix/dnadd/default.nix
Artturin 47ace7b0af pkgs/tools/nix: enable strictDeps
`fd "\.nix" pkgs/tools/nix | xargs rg "strictDeps" --files-without-match | xargs rg "buildRust|buildGo|buildPyt|buildNim" --files-without-match | xargs vim -p`

checked with Artturin/diffing
2023-03-07 18:13:44 +02:00

23 lines
571 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "dnadd";
version = "1.0.0";
src = fetchFromGitHub {
owner = "JoeLancaster";
repo = pname;
rev = "v${version}";
sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
};
strictDeps = true;
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/joelancaster/dnadd";
description = "Adds packages declaratively on the command line";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ joelancaster ];
};
}