Skip to content

Commit 93ff8f2

Browse files
committed
clickable: Switch to buildPythonApplication
1 parent 7de69e2 commit 93ff8f2

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

pkgs/development/tools/clickable/default.nix

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
{ lib
22
, fetchFromGitLab
3-
, buildPythonPackage
4-
, cookiecutter
5-
, requests
6-
, pyyaml
7-
, jsonschema
8-
, argcomplete
9-
, pytestCheckHook
10-
, watchdog
3+
, python3Packages
114
, stdenv
125
}:
136

14-
buildPythonPackage rec {
7+
python3Packages.buildPythonApplication rec {
158
pname = "clickable";
169
version = "7.11.0";
1710

@@ -22,7 +15,7 @@ buildPythonPackage rec {
2215
sha256 = "sha256-OVS+FK2ABoKbBFLDc3drcjeaa3yO9/8Ah8FzlN2fd8g=";
2316
};
2417

25-
propagatedBuildInputs = [
18+
propagatedBuildInputs = with python3Packages; [
2619
cookiecutter
2720
requests
2821
pyyaml
@@ -31,7 +24,7 @@ buildPythonPackage rec {
3124
watchdog
3225
];
3326

34-
nativeCheckInputs = [ pytestCheckHook ];
27+
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
3528

3629
disabledTests = [
3730
# Tests require docker

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15171,7 +15171,7 @@ with pkgs;
1517115171

1517215172
clean = callPackage ../development/compilers/clean { };
1517315173

15174-
clickable = python3Packages.callPackage ../development/tools/clickable { };
15174+
clickable = callPackage ../development/tools/clickable { };
1517515175

1517615176
closurecompiler = callPackage ../development/compilers/closure { };
1517715177

0 commit comments

Comments
 (0)