inih: fix version parsing with nix-env

This commit is contained in:
Sandro Jäckel 2022-04-30 02:34:24 +02:00
parent 9b310a73db
commit f5e6968955
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "inih";
version = "r53";
version = "53";
src = fetchFromGitHub {
owner = "benhoyt";
repo = pname;
rev = version;
rev = "r${version}";
sha256 = "0dqf5j2sw4hq68rqvxbrsf44ygfzx9ypiyzipk4cvp9aimbvsbc6";
};
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Simple .INI file parser in C, good for embedded systems";
homepage = "https://github.com/benhoyt/inih";
changelog = "https://github.com/benhoyt/inih/releases/tag/${version}";
changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ TredwellGit ];
platforms = platforms.all;