mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
591 B
Nix
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 ];
|
|
};
|
|
}
|