Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2151df528b05
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2e76e35df6b3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 13, 2019

  1. Copy the full SHA
    c12d764 View commit details

Commits on Mar 14, 2019

  1. Merge pull request #53422 from leenaars/bang

    pythonPackages.dockerfile-parse: init at 0.0.13
    ryantm authored Mar 14, 2019
    Copy the full SHA
    2e76e35 View commit details
Showing with 28 additions and 0 deletions.
  1. +26 −0 pkgs/development/python-modules/dockerfile-parse/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/dockerfile-parse/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:

buildPythonPackage rec {
version = "0.0.13";
pname = "dockerfile-parse";

src = fetchPypi {
inherit pname version;
sha256 = "1p0x81q3m3nlj4rqal9a959xcbjhncb548wd4wr3l7dpiajqqc9c";
};

postPatch = ''
echo " " > tests/requirements.txt \
'';

propagatedBuildInputs = [ six ];

checkInputs = [ pytestcov pytest ];

meta = with stdenv.lib; {
description = "Python library for parsing Dockerfile files";
homepage = https://github.com/DBuildService/dockerfile-parse;
license = licenses.bsd3;
maintainers = with maintainers; [ leenaars ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1745,6 +1745,8 @@ in {

docker = callPackage ../development/python-modules/docker {};

dockerfile-parse = callPackage ../development/python-modules/dockerfile-parse {};

docker-py = disabledIf isPy27 (callPackage ../development/python-modules/docker-py {});

dockerpty = callPackage ../development/python-modules/dockerpty {};