nixpkgs/pkgs/applications/misc/kanboard/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
591 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "kanboard";
version = "1.2.9";
src = fetchFromGitHub {
owner = "kanboard";
repo = "kanboard";
rev = "v${version}";
sha256 = "1hdr95cpxgdzrzhffs63gdl0g7122ma2zg8bkqwp42p5xphx0xan";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/kanboard
cp -rv . $out/share/kanboard
'';
meta = with stdenv.lib; {
description = "Kanban project management software";
homepage = https://kanboard.net;
license = licenses.mit;
maintainers = with maintainers; [ fpletz ];
};
}