mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
35 lines
946 B
Nix
35 lines
946 B
Nix
{ lib, stdenv, fetchFromGitHub, makeWrapper, git }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "git-standup";
|
|
version = "2.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kamranahmedse";
|
|
repo = "git-standup";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-x7Z4w4UzshXYc25ag6HopRrKbP+/ELkFPdsUBaUE1vY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -Dm755 -t $out/bin git-standup
|
|
|
|
wrapProgram $out/bin/git-standup \
|
|
--prefix PATH : "${lib.makeBinPath [ git ]}"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Recall what you did on the last working day";
|
|
homepage = "https://github.com/kamranahmedse/git-standup";
|
|
changelog = "https://github.com/kamranahmedse/git-standup/releases/tag/${finalAttrs.src.rev}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "git-standup";
|
|
};
|
|
})
|