Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
subgit # SubGit
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
subgit # SubGit
];
} Package Definition
{
"pname": "subgit",
"version": "3.3.18",
"src": {
"url": "https://subgit.com/download/subgit-3.3.18.zip",
"sha256": "bb89606d7eb66e182fff8d7d89ffa3ca409592e379489e0e061a85d8d97d41ee"
},
"installPhase": [
"mkdir -p \"$out/bin\" && ln -s \"subgit-3.3.18/bin/subgit\" \"$out/bin/subgit\""
],
"meta": {
"description": "Convert SVN repositories to Git",
"homepage": "https://subgit.com/"
}
}