Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "dnadd"; 5 version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "JoeLancaster"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r"; 12 }; 13 14 strictDeps = true; 15 makeFlags = [ "PREFIX=$(out)" ]; 16 17 meta = with lib; { 18 homepage = "https://github.com/joelancaster/dnadd"; 19 description = "Adds packages declaratively on the command line"; 20 license = licenses.gpl3Plus; 21 maintainers = with maintainers; [ joelancaster ]; 22 }; 23}