12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-Hsro0y/avI20cFQveQF17NiR3JCNlBKqXbaIce7uxBM=";
23 cargoHash = "sha256-Ahzm23AStSwDSgks9j/J15/zo+EH/NgbfCBc3xBcTwQ=";
31 ] ++ lib.optionals stdenv.isDarwin [
32 darwin.apple_sdk.frameworks.AppKit
33 ] ++ lib.optionals stdenv.isLinux [
38 # requires internet access
42 description = "Create `.gitignore` files using one or more templates from TopTal, GitHub or your own collection";
43 homepage = "https://github.com/reemus-dev/gitnr";
44 changelog = "https://github.com/reemus-dev/gitnr/blob/${src.rev}/CHANGELOG.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ figsoda ];
47 mainProgram = "gitnr";