nixpkgs/pkgs/by-name/mo/modd/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

26 lines
684 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "modd";
version = "unstable-2021-12-15";
src = fetchFromGitHub {
owner = "cortesi";
repo = "modd";
rev = "6083f9d1c171bd3292945672dab654a70d205945";
sha256 = "sha256-KDZyOnytDLyybHTgU1v/NpiomeHXMIUHiQ+Xpmwyo0w=";
};
vendorHash = "sha256-O+hJRMSwV/9NHxbaLjloCWnfPugfRYaXNve098wjbqQ=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Flexible developer tool that runs processes and responds to filesystem changes";
mainProgram = "modd";
homepage = "https://github.com/cortesi/modd";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}