1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

remarshal: use toPythonApplication (#135897)

* remarshal: use toPythonApplication

* Update pkgs/development/python-modules/remarshal/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
misuzu 2021-08-28 04:01:48 +03:00 committed by GitHub
parent b4cc668277
commit b0daf8fb06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View file

@ -1,15 +1,21 @@
{ lib, python3Packages }:
{ lib, buildPythonApplication, fetchPypi
, cbor2
, python-dateutil
, pyyaml
, tomlkit
, u-msgpack-python
}:
python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "remarshal";
version = "0.14.0";
src = python3Packages.fetchPypi {
src = fetchPypi {
inherit pname version;
sha256 = "16425aa1575a271dd3705d812b06276eeedc3ac557e7fd28e06822ad14cd0667";
};
propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = [
pyyaml cbor2 python-dateutil tomlkit u-msgpack-python
];

View file

@ -8355,7 +8355,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
remarshal = callPackage ../development/tools/remarshal { };
remarshal = with python3Packages; toPythonApplication remarshal;
rehex = callPackage ../applications/editors/rehex {
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit;

View file

@ -7641,6 +7641,8 @@ in {
relatorio = callPackage ../development/python-modules/relatorio { };
remarshal = callPackage ../development/python-modules/remarshal { };
rencode = callPackage ../development/python-modules/rencode { };
reparser = callPackage ../development/python-modules/reparser { };