openttd/nml.nix: use SRI hash format

This commit is contained in:
AndersonTorres 2022-06-09 23:10:23 -03:00
parent 3b224dccc3
commit 2275593fe8

View File

@ -1,6 +1,10 @@
{ stdenv, lib, fetchFromGitHub, python3Packages }:
{ stdenv
, lib
, fetchFromGitHub
, python3
}:
python3Packages.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "openttd-nml";
version = "0.6.1";
@ -8,15 +12,18 @@ python3Packages.buildPythonApplication rec {
owner = "OpenTTD";
repo = "nml";
rev = version;
sha256 = "0z0n4lqvnqigfjjhmmz7mvis7iivd4a8d287ya2yscfg5hznnqh2";
hash = "sha256-AmJrPyzPMe2F8geJhhRpO8aj467n1wqldC9iuzElFnw=";
};
propagatedBuildInputs = with python3Packages; [ply pillow];
propagatedBuildInputs = with python3.pkgs; [
pillow
ply
];
meta = with lib; {
homepage = "http://openttdcoop.org/";
description = "Compiler for OpenTTD NML files";
homepage = "http://openttdcoop.org/";
license = licenses.gpl2;
license = licenses.gpl2;
maintainers = with maintainers; [ ToxicFrog ];
};
}