Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions pkgs/development/python-modules/flit-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
, buildPythonPackage
, callPackage
, flit
, toml
}:

buildPythonPackage rec {
pname = "flit-core";
version = "3.2.0";
version = "3.6.0";
format = "pyproject";

outputs = [
Expand All @@ -21,10 +20,6 @@ buildPythonPackage rec {
cd flit_core
'';

propagatedBuildInputs = [
toml
];

postInstall = ''
mkdir $testsout
cp -R ../tests $testsout/tests
Expand Down
14 changes: 6 additions & 8 deletions pkgs/development/python-modules/flit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
, fetchFromGitHub
, docutils
, requests
, requests_download
, zipfile36
, pythonOlder
, pytest
, testpath
, responses
, flit-core
, tomli
, tomli-w
}:

# Flit is actually an application to build universal wheels.
Expand All @@ -19,14 +18,14 @@

buildPythonPackage rec {
pname = "flit";
version = "3.2.0";
version = "3.6.0";
format = "pyproject";

src = fetchFromGitHub {
owner = "takluyver";
repo = "flit";
rev = version;
sha256 = "sha256-zN+/oAyXBo6Ho7n/xhOQ2mjtPGKA1anCvl3sVf7t+Do=";
sha256 = "sha256-D3q/1g6njrrmizooGmzNd9g2nKs00dMGj9jrrv3Y6HQ=";
};

nativeBuildInputs = [
Expand All @@ -36,10 +35,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
docutils
requests
requests_download
flit-core
] ++ lib.optionals (pythonOlder "3.6") [
zipfile36
tomli
tomli-w
];

checkInputs = [ pytest testpath responses ];
Expand Down