mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
legit: init at 0.2.1
This commit is contained in:
parent
4877a270df
commit
3e5995d7ea
33
pkgs/applications/version-management/legit-web/default.nix
Normal file
33
pkgs/applications/version-management/legit-web/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "legit";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "legit";
|
||||
owner = "icyphox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Y0lfbe4xBCj80z07mLFIiX+shvntYAHiW2Uw7h94jrE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-RAUSYCtP4rcJ2zIBXfPAEZWD1VSfr3d4MrmUMiPpjK8=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/legit/templates
|
||||
mkdir -p $out/lib/legit/static
|
||||
|
||||
cp -r $src/templates/* $out/lib/legit/templates
|
||||
cp -r $src/static/* $out/lib/legit/static
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Web frontend for git";
|
||||
homepage = "https://github.com/icyphox/legit";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.ratsclub ];
|
||||
};
|
||||
}
|
@ -2152,6 +2152,8 @@ with pkgs;
|
||||
|
||||
legit = callPackage ../applications/version-management/legit { };
|
||||
|
||||
legit-web = callPackage ../applications/version-management/legit-web { };
|
||||
|
||||
lucky-commit = callPackage ../applications/version-management/lucky-commit {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenCL;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user