-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
349 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7264,6 +7264,17 @@ | |
githubId = 1267527; | ||
name = "Daniel Firth"; | ||
}; | ||
lockejan = { | ||
email = "[email protected]"; | ||
matrix = "@jan:smittie.de"; | ||
github = "lockejan"; | ||
githubId = 25434434; | ||
name = "Jan Schmitt"; | ||
keys = [{ | ||
longkeyid = "dsa2048/0xA2BC3C6F14351991"; | ||
fingerprint = "1763 9903 2D7C 5B82 5D5A 0EAD A2BC 3C6F 1435 1991"; | ||
}]; | ||
}; | ||
lodi = { | ||
email = "[email protected]"; | ||
github = "lodi"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
pkgs/applications/science/logic/isabelle/components/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ callPackage }: | ||
|
||
{ | ||
isabelle-linter = callPackage ./isabelle-linter.nix {}; | ||
} |
22 changes: 22 additions & 0 deletions
22
pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ stdenv, lib, fetchFromGitHub, isabelle }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "isabelle-linter"; | ||
version = "Isabelle2021-1-v1.0.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "isabelle-prover"; | ||
repo = "isabelle-linter"; | ||
rev = version; | ||
sha256 = "0v6scc2rhj6bjv530gzz6i57czzcgpkw7a9iqnfdnm5gvs5qjk7a"; | ||
}; | ||
|
||
installPhase = import ./mkBuild.nix { inherit isabelle; path = "${pname}-${version}"; }; | ||
|
||
meta = with lib; { | ||
description = "Linter component for Isabelle."; | ||
homepage = "https://github.com/isabelle-prover/isabelle-linter"; | ||
maintainers = with maintainers; [ jvanbruegge ]; | ||
license = licenses.mit; | ||
}; | ||
} |
36 changes: 36 additions & 0 deletions
36
pkgs/applications/science/logic/isabelle/components/mkBuild.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ isabelle, path }: | ||
|
||
let | ||
dir = "$out/isabelle/${isabelle.dirname}"; | ||
iDir = "${isabelle}/${isabelle.dirname}"; | ||
in '' | ||
shopt -s extglob | ||
mkdir -p ${dir}/lib/classes | ||
cDir=$out/${isabelle.dirname}/contrib/${path} | ||
mkdir -p $cDir | ||
cp -r !(isabelle) $cDir | ||
cd ${dir} | ||
ln -s ${iDir}/!(lib|bin) ./ | ||
ln -s ${iDir}/lib/!(classes) lib/ | ||
ln -s ${iDir}/lib/classes/* lib/classes/ | ||
mkdir bin/ | ||
cp ${iDir}/bin/* bin/ | ||
export HOME=$TMP | ||
bin/isabelle components -u $cDir | ||
bin/isabelle scala_build | ||
cd lib/classes | ||
for f in ${iDir}/lib/classes/*; do | ||
rm $(basename $f) | ||
done | ||
lDir=$out/${isabelle.dirname}/lib/classes/ | ||
mkdir -p $lDir | ||
cp -r * $lDir | ||
cd $out | ||
rm -rf isabelle | ||
'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
pkgs/applications/version-management/git-and-tools/git-team/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: | ||
buildGoModule rec { | ||
pname = "git-team"; | ||
version = "1.7.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hekmekk"; | ||
repo = "git-team"; | ||
rev = "v${version}"; | ||
sha256 = "0nl5j64b61jw4bkf29y51svjbndmqqrqx96yaip4vjzj2dx9ywm4"; | ||
}; | ||
|
||
vendorSha256 = "sha256-xJMWPDuqoNtCCUnKuUvwlYztyrej1uZttC0NsDvYnXI="; | ||
|
||
nativeBuildInputs = [ installShellFiles ]; | ||
|
||
postInstall = '' | ||
go run main.go --generate-man-page > ${pname}.1 | ||
installManPage ${pname}.1 | ||
# Currently only bash completions are provided | ||
installShellCompletion --cmd git-team --bash <($out/bin/git-team completion bash) | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Command line interface for managing and enhancing git commit messages with co-authors"; | ||
homepage = "https://github.com/hekmekk/git-team"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ lockejan ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.