nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "todiff";
5 version = "0.6.1";
6
7 src = fetchFromGitHub {
8 owner = "Ekleog";
9 repo = "todiff";
10 rev = version;
11 sha256 = "1y0v8nkaqb8kn61xwarpbyrq019gxx1f5f5p1hzw73nqxadc1rcm";
12 };
13
14 cargoSha256 = "0vrn1vc3rwabv6l2r1qb7mkcxbp75q79bfl3rxhyi51ra3ij507r";
15
16 checkFeatures = [ "integration_tests" ];
17
18 meta = with lib; {
19 description = "Human-readable diff for todo.txt files";
20 homepage = "https://github.com/Ekleog/todiff";
21 maintainers = with maintainers; [ ekleog ];
22 license = licenses.mit;
23 };
24}