7 stdenv.mkDerivation rec {
8 pname = "hg-commitsigs";
9 # Latest tag is 11 years old.
10 version = "unstable-2021-01-08";
13 url = "https://foss.heptapod.net/mercurial/commitsigs";
15 sha256 = "sha256-PS1OhC9MiVFD7WYlIn6FavD5TyhM50WoV6YagI2pLxU=";
18 # Not sure how the tests are supposed to be run, and they 10 years old...
23 mkdir -p $out/lib/${python.libPrefix}/site-packages/hgext3rd/
24 install -D $src/commitsigs.py \
25 $out/lib/${python.libPrefix}/site-packages/hgext3rd/
29 description = "Automatic signing of changeset hashes";
31 This packages provides a Mercurial extension that lets you sign
32 the changeset hash when you commit. The signature is embedded
33 directly in the changeset itself; there wont be any extra
34 commits. Either GnuPG or OpenSSL can be used to sign the hashes.
36 homepage = "https://foss.heptapod.net/mercurial/commitsigs";
37 maintainers = with maintainers; [ yoctocell ];
38 license = licenses.gpl2Plus;
39 platforms = platforms.unix; # same as Mercurial