mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
openttd/nml.nix: use SRI hash format
This commit is contained in:
parent
3b224dccc3
commit
2275593fe8
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user