Skip to content

Commit a45070a

Browse files
committed
nix: add package rjsmin
Signed-off-by: Paul Kroeher <paul.kroeher@cyberus-technology.de> On-behalf-of: SAP paul.kroeher@sap.com
1 parent 0c69ace commit a45070a

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

packages/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ let
187187
python-novaclient
188188
python-swiftclient
189189
python3Packages
190+
rjsmin
190191
xstatic-angular
191192
xstatic-angular-bootstrap
192193
xstatic-angular-fileupload
@@ -798,6 +799,8 @@ let
798799
};
799800
rcssmin = callPackage ./rcssmin.nix { inherit python3Packages; };
800801
reno = callPackage ./reno.nix { inherit python3Packages; };
802+
rjsmin = callPackage ./rjsmin.nix { inherit python3Packages; };
803+
801804
sphinxcontrib-svg2pdfconverter = callPackage ./sphinxcontrib-svg2pdfconverter.nix {
802805
inherit python3Packages;
803806
};

packages/horizon.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
python-neutronclient,
2626
python-novaclient,
2727
python-swiftclient,
28+
rjsmin,
2829
xstatic-angular,
2930
xstatic-angular-bootstrap,
3031
xstatic-angular-fileupload,
@@ -130,6 +131,7 @@ python3Packages.buildPythonPackage rec {
130131
python-swiftclient
131132
pyyaml
132133
requests
134+
rjsmin
133135
semantic-version
134136
tzdata
135137
xstatic

packages/rjsmin.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
fetchPypi,
3+
python3Packages,
4+
}:
5+
let
6+
inherit (python3Packages)
7+
setuptools
8+
pip
9+
;
10+
in
11+
python3Packages.buildPythonPackage rec {
12+
pname = "rjsmin";
13+
version = "1.2.2";
14+
15+
pyproject = true;
16+
17+
nativeBuildInputs = [
18+
setuptools
19+
pip
20+
];
21+
22+
src = fetchPypi {
23+
inherit pname version;
24+
sha256 = "sha256-jBvNghFD/s8jJCAStV4TYQhAqDnNRns1jxY1kBDWLa4=";
25+
};
26+
}

0 commit comments

Comments
 (0)