remarshal: 0.3.0 -> 0.6.0

+34 -9
+12 -9
pkgs/development/tools/remarshal/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 - name = "remarshal-${rev}"; 5 - rev = "0.3.0"; 6 - goPackagePath = "github.com/dbohdan/remarshal"; 7 8 src = fetchFromGitHub { 9 - rev = "v${rev}"; 10 owner = "dbohdan"; 11 repo = "remarshal"; 12 - sha256 = "0lhsqca3lq3xvdwsmrngv4p6b7k2lkbfnxnk5qj6jdd5y7f4b496"; 13 }; 14 15 - goDeps = ./deps.nix; 16 17 - meta = with lib; { 18 description = "Convert between TOML, YAML and JSON"; 19 license = licenses.mit; 20 homepage = https://github.com/dbohdan/remarshal;
··· 1 + { stdenv, pythonPackages, fetchFromGitHub }: 2 3 + pythonPackages.buildPythonApplication rec { 4 + name = "remarshal-${version}"; 5 + version = "0.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "dbohdan"; 9 repo = "remarshal"; 10 + rev = "v${version}"; 11 + sha256 = "0jslawpzghv3chamrfddnyn5p5068kjxy8d38fxvi5h06qgfb4wp"; 12 }; 13 14 + propagatedBuildInputs = with pythonPackages; [ 15 + dateutil 16 + pytoml 17 + pyyaml 18 + ]; 19 20 + meta = with stdenv.lib; { 21 description = "Convert between TOML, YAML and JSON"; 22 license = licenses.mit; 23 homepage = https://github.com/dbohdan/remarshal;
+22
pkgs/top-level/python-packages.nix
··· 31653 }; 31654 }; 31655 31656 ROPGadget = buildPythonPackage rec { 31657 name = "ROPGadget-5.4"; 31658 src = pkgs.fetchurl {
··· 31653 }; 31654 }; 31655 31656 + pytoml = buildPythonPackage rec { 31657 + name = "pytoml-${version}"; 31658 + version = "0.1.11"; 31659 + 31660 + checkPhase = "${python.interpreter} test/test.py"; 31661 + 31662 + # fetchgit used to ensure test submodule is available 31663 + src = pkgs.fetchgit { 31664 + url = "${meta.homepage}.git"; 31665 + rev = "refs/tags/v${version}"; 31666 + sha256 = "1jiw04zk9ccynr8kb1vqh9r1p2kh0al7g7b1f94911iazg7dgs9j"; 31667 + }; 31668 + 31669 + meta = { 31670 + description = "A TOML parser/writer for Python"; 31671 + homepage = https://github.com/avakar/pytoml; 31672 + license = licenses.mit; 31673 + maintainers = with maintainers; [ peterhoeg ]; 31674 + }; 31675 + 31676 + }; 31677 + 31678 ROPGadget = buildPythonPackage rec { 31679 name = "ROPGadget-5.4"; 31680 src = pkgs.fetchurl {